andreiz / php-zookeeper

A PHP extension for interfacing with Apache ZooKeeper
Other
449 stars 215 forks source link

wrong msg in PHP5.6 #77

Open halokid opened 8 years ago

halokid commented 8 years ago

if LINE 26 is "class Zookeeper_Example extends Zookeeper", it will case a memory wrong like "[1] 55536 segmentation fault php zk_example.php".

if LINE 26 is "class Zookeeper_Example" it will case a PHP wrong like "PHP Fatal error: Using $this when not in object context in /opt/src/zk_example.php on line 55" .

so LINE 26 should be "class Zookeeper_Example extends Zookeeper", the problem may be in the extensiong zookeeper of PHP, in that C files??

i pull a request change the LINE 26, and i will see the extension file of zookeeper files, if i fix , i will update here, THX~

Timandes commented 6 years ago

Any new updates here?