3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { define('\\true', 1!==1); define('\\false', 1===1); var_dump(array( 'true' => true, 'false' => false, '1===1' => 1===1, '1!==1' => 1!==1, )); } namespace Foo { var_dump(array( 'true' => true, 'false' => false, '1===1' => 1===1, '1!==1' => 1!==1, )); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMe8L
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 '%5Ctrue'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 '%5Cfalse'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
    8     9        SEND_VAL                                                 <array>
         10        DO_ICALL                                                 
   16    11        INIT_NS_FCALL_BY_NAME                                    'Foo%5Cvar_dump'
   17    12        SEND_VAL_EX                                              <array>
         13        DO_FCALL                                      0          
   22    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.27 ms | 1385 KiB | 17 Q