Bug #69772 [Dup]: Unexpected behavior at console.

From: Date: Mon, 08 Jun 2015 18:52:08 +0000
Subject: Bug #69772 [Dup]: Unexpected behavior at console.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193208@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69772&edit=1 ID: 69772 User updated by: pawel dot samysev at gmail dot com Reported by: pawel dot samysev at gmail dot com Summary: Unexpected behavior at console. Status: Duplicate Type: Bug Package: Scripting Engine problem Operating System: Ubuntu 14.04 PHP Version: 5.5.25 Assigned To: cmb Block user comment: N Private report: N New Comment: Thank for your attension Previous Comments: ------------------------------------------------------------------------ [2015-06-08 18:10:31] cmb@php.net 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 17:57:12] pawel dot samysev at gmail dot com var_dump(error_reporting()); return int(32767) , value of E_ALL ------------------------------------------------------------------------ [2015-06-08 17:11:03] cmb@php.net Quite likely E_NOTICE is not included in the error reporting. What is the output of var_dump(error_reporting()); ------------------------------------------------------------------------ [2015-06-08 15:38:19] pawel dot samysev at gmail dot com Description: ------------ At console script code return NULL without any notice. Test script: --------------- $f = false; var_dump($f[33]); Expected result: ---------------- Notice: Undefined offset: 33 Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69772&edit=1

« previous php.bugs (#193208) next »