diff options
Diffstat (limited to 'Zend/tests/bug35393.phpt')
-rwxr-xr-x | Zend/tests/bug35393.phpt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Zend/tests/bug35393.phpt b/Zend/tests/bug35393.phpt deleted file mode 100755 index ce3bdd001a..0000000000 --- a/Zend/tests/bug35393.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Bug #35393 (changing static protected members from outside the class) ---INI-- -error_reporting=4095 ---FILE-- -<?php -class ObjectPath -{ - static protected $type = array(0=>'main'); - - static function getType() - { - return self::$type; - } -} -print_r(ObjectPath::getType()); -$object_type = array_pop((ObjectPath::getType())); -print_r(ObjectPath::getType()); -?> ---EXPECTF-- -Array -( - [0] => main -) - -Strict Standards: Only variables should be passed by reference in %sbug35393.php on line 12 -Array -( - [0] => main -) |