Bug #75730 [NEW]: Stuck on is_null()
| From: | momchil at bojinov dot info | Date: | Mon, 25 Dec 2017 20:45:33 +0000 |
| Subject: | Bug #75730 [NEW]: Stuck on is_null() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-213265@lists.php.net to get a copy of this message | ||
From: momchil at bojinov dot info
Operating system: Windows 10
PHP version: 7.1.12
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Stuck on is_null()
Description:
------------
Hello,
I m refactoring some old code and I hit a roadblock
if (is_null($Ticks)) { - That one gets PHP.EXE stuck consuming lots of
CPU
#if ($Ticks == NULL) { - That one runs fine
I have packaged the entire solution:
bojinov.info/momchil/php/bug.zip
It contains PHP 7.1.12 x64 TS with all the needed scripts
to execute run php examples\example.basic.php
Test script:
---------------
php examples\example.basic.php
Expected result:
----------------
nothing
Actual result:
--------------
PHP hangs
--
Edit bug report at https://bugs.php.net/bug.php?id=75730&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75730&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75730&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75730&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75730&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75730&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75730&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75730&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75730&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75730&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75730&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75730&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75730&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75730&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75730&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75730&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75730&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75730&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75730&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75730&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75730&r=mysqlcfg