3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('\\true', 1!==1); define('\\false', 1===1); 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/JJlTY
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 '%5Ctrue'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 '%5Cfalse'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
    7     9        SEND_VAL                                                 <array>
         10        DO_ICALL                                                 
   11    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1394 KiB | 17 Q