Predefined Classes in Zend2
| From: | Steve Alberty | Date: | Sat, 17 Aug 2002 11:32:35 +0000 |
| Subject: | Predefined Classes in Zend2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86935@lists.php.net to get a copy of this message | ||
Hi,
is it possible that predefined classes no longer working
in zend2 engine ?
eg:
<?php
$chk= new __PHP_Incomplete_Class;
var_dump($chk);
?>
in zend1:
the incomplete message is written:
Fatal error: The script tried to execute a method or access ...
correct, but in zend2:
object(__PHP_Incomplete_Class)(0) {}
also the same example with ming:
<?php
$dir= new SWFMovie;
var_dump($dir);
?>
in zend1:
object(swfmovie)(1) {
["movie"]=>
resource(2) of type (SWFMovie)
}
in zend2:
object(swfmovie)(0) {}
and the PHP_FUNCTION(swfmorph_init) in ming.c is definitively not longer
calling in zend2.
A bug or a new behavior in zend 2?
Regards,
Steve