Bug #55705 [Asn->Csd]: Omitting a callable typehinted argument causes a segfault
Edit report at https://bugs.php.net/bug.php?id=55705&edit=1
ID: 55705
Updated by: felipe@php.net
Reported by: mikko dot petteri dot hirvonen at gmail dot com
Summary: Omitting a callable typehinted argument causes a
segfault
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Mac OS X 10.7 Lion
PHP Version: 5.4.0beta1
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-09-17 00:15:54] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=316887
Log: - Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)
patch by: laruence@php
------------------------------------------------------------------------
[2011-09-16 20:29:00] nikic@php.net
@laruence: Could you maybe change the added error message to use "be callable" instead of
"be of the type callback" just like the other callable error message? That way it would be
more consistent :)
------------------------------------------------------------------------
[2011-09-16 08:59:53] laruence@php.net
The following patch has been added/updated:
Patch Name: bug55705.phpt
Revision: 1316163593
URL: https://bugs.php.net/patch-display.php?bug=55705&patch=bug55705.phpt&revision=1316163593
------------------------------------------------------------------------
[2011-09-16 08:46:23] laruence@php.net
dmitry, plz look at this, thanks
------------------------------------------------------------------------
[2011-09-16 08:45:43] laruence@php.net
The following patch has been added/updated:
Patch Name: bug55705.phpt
Revision: 1316162743
URL: https://bugs.php.net/patch-display.php?bug=55705&patch=bug55705.phpt&revision=1316162743
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55705
--
Edit this bug report at https://bugs.php.net/bug.php?id=55705&edit=1
Thread (7 messages)