|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69772 Unexpected behavior at console.
Submitted: 2015-06-08 15:38 UTC Modified: 2015-06-08 18:52 UTC
From: pawel dot samysev at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: Scripting Engine problem
PHP Version: 5.5.25 OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
39 + 18 = ?
Subscribe to this entry?

 [2015-06-08 15:38 UTC] pawel dot samysev at gmail dot com
At console script code return NULL without any notice.

Test script:
$f = false;

Expected result:
Notice: Undefined offset: 33 

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-08 17:11 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2015-06-08 17:11 UTC]
Quite likely E_NOTICE is not included in the error reporting. What
is the output of

 [2015-06-08 17:57 UTC] pawel dot samysev at gmail dot com
-Status: Feedback +Status: Assigned
 [2015-06-08 17:57 UTC] pawel dot samysev at gmail dot com
return  int(32767) , value of E_ALL
 [2015-06-08 18:10 UTC]
-Status: Assigned +Status: Duplicate
 [2015-06-08 18:10 UTC]
I should have read the report more thoroughly in the first place.
The described behavior is known, and already reported as bug
#54155 (and several others, IIRC).
 [2015-06-08 18:52 UTC] pawel dot samysev at gmail dot com
Thank for your attension
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 04:01:23 2021 UTC