|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-08 16:28 UTC] laruence@php.net
[2012-07-08 16:28 UTC] laruence@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: laruence
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 09:00:01 2025 UTC |
Description: ------------ Segfault while access a non-string property of DateInterval object Test script: --------------- <?php class Crasher extends DateInterval { public function __construct($time_spec) { parent::__construct($time_spec); var_dump($this->{2}); } } $c = new Crasher("P2Y4DT6H8M"); Expected result: ---------------- NULL Actual result: -------------- core dump