|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-01 14:16 UTC] Sjon at hortensius dot net
[2012-07-02 00:52 UTC] aharvey@php.net
[2012-07-02 00:52 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
-Package: I18N and L10N related
+Package: Scripting Engine problem
[2012-07-02 10:03 UTC] iblacksmoke at gmail dot com
[2012-07-02 10:22 UTC] aharvey@php.net
[2012-07-02 10:23 UTC] iblacksmoke at gmail dot com
[2012-07-02 10:46 UTC] aharvey@php.net
[2012-07-02 10:46 UTC] aharvey@php.net
-Status: Feedback
+Status: Open
-Package: Scripting Engine problem
+Package: APC
[2012-07-02 16:33 UTC] ab@php.net
[2012-07-02 18:37 UTC] iblacksmoke at gmail dot com
[2012-07-20 20:52 UTC] ab@php.net
[2012-07-20 20:53 UTC] ab@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: ab
[2012-07-20 20:53 UTC] ab@php.net
[2012-10-15 12:53 UTC] jinxiao2010 at gmail dot com
[2012-10-15 14:06 UTC] ab@php.net
[2012-11-24 17:27 UTC] sfedder at hotmail dot com
[2012-12-14 00:37 UTC] alj62888 at yahoo dot com
[2013-04-04 01:03 UTC] mi+php at aldan dot algebra dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ Description of notice when calling missing property of standard php object contains incorrect characters (possibly from different encoding). They cause error in class of standard class ErrorException, and script returns fatal error(with no information) rather than exception. It turns out there as much as two bugs: incorrect encoding of strings and lack of data filtering in ErrorException constructor. Test script: --------------- one: $test = new StdClass(); echo $test->qwerty; two: set_error_handler(function($errno, $errstr, $errfile, $errline){ throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }); $test = new StdClass(); echo $test->qwerty; Expected result: ---------------- one: Notice: Undefined property: stdClass::$qwerty in script two: correct php exception Actual result: -------------- one: Notice: Undefined property: stdClass�K�::$qwerty in script two: Fatal error: in script