Export to GitHub

php-for-android - issue #3

spl_autoload doesn't for *nix system


Posted on Jul 24, 2010 by Swift Rabbit

PHP 5.3.2 and older 5.3 version has bug with autoloading classes with spl_autoload. You can find information about this bug here - http://bugs.php.net/51991

Comment #1

Posted on Jul 24, 2010 by Massive Dog

The php binary which is currently bundled is "5.3.3RC3" (aka PFA 0.11). Does it have this bug too? (You don't need to reinstall PFA-APK to update to 0.11 , just use its "uninstall"/"install" button.)

Comment #2

Posted on Jul 24, 2010 by Swift Rabbit

it doesn't work either. It's strange, because i use PHP 5.3.0 on Windows and everything is working fine.

Comment #3

Posted on Jul 24, 2010 by Massive Dog

This might be related to a known issue which is the lack of glob stream wrapper in our android build. PHP 5.3.3-final has been released. I'll study this when I work in that build.

Comment #4

Posted on Jul 24, 2010 by Massive Dog

(No comment was entered for this change.)

Status: New

Labels:
Type-Defect Priority-Medium