3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace Foo; define('Foo\\null', true); if (null) { echo "TRUE"; } else { echo "FALSE!!!"; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
Jump found. Position 1 = 8
Branch analysis from position: 8
Jump found. Position 1 = -2
Branch analysis from position: 7
Jump found. Position 1 = -2
filename:       /in/1M78n
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_NS_FCALL_BY_NAME                                    
         1        SEND_VAL_EX                                              'Foo%5Cnull'
         2        SEND_VAL_EX                                              <true>
         3        DO_FCALL                                      0          
   5     4      > JMPZ                                                     null, ->7
   6     5    >   ECHO                                                     'TRUE'
         6      > JMP                                                      ->8
   8     7    >   ECHO                                                     'FALSE%21%21%21'
         8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0