Bug #68080 [NEW]: ... operator causes a segmentation fault

From: Date: Mon, 22 Sep 2014 21:11:06 +0000
Subject: Bug #68080 [NEW]: ... operator causes a segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187666@lists.php.net to get a copy of this message
From: v dot guth at owlient dot eu Operating system: Ubuntu 14.04 PHP version: master-Git-2014-09-22 (Git) Package: Reproducible crash Bug Type: Bug Bug description:... operator causes a segmentation fault Description: ------------ This PHP code generates a segmentation fault. I would expect an error message such as : Fatal error: Declaration of B::c() must be compatible with A::c() in /tmp/test.php on line 13 Test script: --------------- <?php abstract class A { abstract public function c(); } class B extends A { public function c(...$list) { } } ?> Expected result: ---------------- A nice error message: Fatal error: Declaration of B::c() must be compatible with A::c() in /tmp/test.php on line 13 Actual result: -------------- A segmentation fault: vincent@abricow:/var/www$ php /tmp/test.php Erreur de segmentation (core dumped) -- Edit bug report at https://bugs.php.net/bug.php?id=68080&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68080&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68080&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68080&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68080&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68080&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68080&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68080&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68080&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68080&r=support Expected behavior: https://bugs.php.net/fix.php?id=68080&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68080&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68080&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68080&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68080&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68080&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68080&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68080&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68080&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68080&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68080&r=mysqlcfg

« previous php.bugs (#187666) next »