|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-18 10:47 UTC] tim at timcrider dot com
[2003-06-04 22:30 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Feb 08 01:00:01 2026 UTC |
Whenever you define a __set or __get inside of a class within a namespace seems to undefine print_r -----[ class.php ]----- <?php namespace foo { class bar { function __construct() { } function __set($k, $v) { } function __get($k) { } } } ?> -----[ run.php ]----- #!/php5/bin/php -q <?php require_once "class.php"; $a = New foo::bar; print "Trying ".$a->testing."\n"; $a->abc = 123; print_r($a); ?> -----[ config ]----- ./configure --prefix=/php5 \ --with-gettext \ --with-gd=/usr \ --with-jpeg-dir=/usr/local \ --with-mcrypt=/usr/local \ --with-mcal=/usr/local \ --with-ming=/usr/local \ --with-mhash=/usr/local \ --with-mysql=/usr/local/mysql \ --with-zlib=/usr/local \ --with-ncurses \ --with-tiff-dir="/usr/local" \ --with-unixODBC=/usr/local/unixODBC \ --with-xml \ --with-calendar=shared \ --with-png-dir=/usr/local \ --with-freetype=/usr/local \ --with-freetype-dir=/usr/local \ --with-ttf=/usr/local \ --with-openssl=/usr/local \ --with-bz2 \ --with-dom \ --enable-bcmath \ --enable-calendar \ --enable-dio \ --enable-exif \ --enable-ftp \ --enable-gd-native-ttf \ --enable-pcntl \ --enable-shmop \ --enable-sigchild \ --enable-sockets \ --enable-track-vars \ --enable-magic-quotes \ --enable-trans-sid \ --enable-libgcc \ --enable-wddx \ --enable-sysvshm \ --enable-sysvsem \ --enable-sysvmsg