Bug #69760 [Nab]: segmentation fault php5.5.9

From: Date: Fri, 05 Jun 2015 16:46:38 +0000
Subject: Bug #69760 [Nab]: segmentation fault php5.5.9
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193151@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69760&edit=1 ID: 69760 Updated by: cmb@php.net Reported by: sett1ngs at hotmail dot com Summary: segmentation fault php5.5.9 Status: Not a bug Type: Bug Package: Scripting Engine problem Operating System: Linux PHP Version: 5.5.9 Assigned To: cmb Block user comment: N Private report: N New Comment: And wrt. the segfault about object inheritance: <http://php.net/manual/en/language.oop5.inheritance.php>. Previous Comments: ------------------------------------------------------------------------ [2015-06-05 16:41:29] cmb@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. I suggest you learn about the visibility of members: <http://php.net/manual/en/language.oop5.visibility.php>. ------------------------------------------------------------------------ [2015-06-05 16:12:35] sett1ngs at hotmail dot com PHP Version:5.5.9 ------------------------------------------------------------------------ [2015-06-05 16:11:01] sett1ngs at hotmail dot com Description: ------------ The script can't choose between outputs function , because there 2 function called outputs and each one in another class ... host@localhost:/var/www/$ php test.php Segmentation fault Test script: --------------- <?php class Connection{ public $from; protected $to; private $user = "sub"; protected function outputs(){ echo "{$this->user} has connected by {$this->from} to {$this->to}<br>"; } } class Connection2 extends Connection{ protected $to = "192.168.1.1"; public function outputs(){ echo "{$this->user} has connected by {$this->from} to {$this->to} !!!!!!!!<br>"; $this->outputs(); } } $opject = new Connection2; $opject->from = "127.0.0.1"; $opject->outputs(); //$opject->outputs(); ?> Expected result: ---------------- declare error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69760&edit=1

« previous php.bugs (#193151) next »