pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/58126: php83-jpgraph-1.18 library fails in php-8.3.0
>Number: 58126
>Category: pkg
>Synopsis: php83-jpgraph-1.18 library fails in php-8.3.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 08 11:15:00 +0000 2024
>Originator: Ramiro Aceves
>Release: NetBSD 10.0
>Organization:
>Environment:
netbsd-raspa# uname -a
NetBSD netbsd-raspa 10.0 NetBSD 10.0 (RPI) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI evbarm
>Description:
Hello:
the library fails to work with this message:
netbsd-raspa# php pruebaReadDB.php
PHP Warning: Module "curl" is already loaded in Unknown on line 0
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/pkg/share/php-jpgraph/jpgraph.php on line 621
PHP official documentation page says:
Prior to PHP 8.0.0, square brackets and curly braces could be used interchangeably for accessing array elements (e.g. $array[42] and $array{42} would both do the same thing in the example above). The curly brace syntax was deprecated as of PHP 7.4.0 and no longer supported as of PHP 8.0.0.
netbsd-raspa# pkgin list | grep php
php-8.3.0 PHP Hypertext Preprocessor version 8.3
php83-curl-8.3.0nb16 PHP extension for curl functions
php83-gd-8.3.0nb7 PHP extension for GD graphics library
php83-jpgraph-1.18 Object Oriented class library for PHP
Thanks.
Ramiro.
>How-To-Repeat:
Just try using the library
>Fix:
Home |
Main Index |
Thread Index |
Old Index