3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = false; $b = FALSE; var_dump($a, $b); constant('FALSE', true); var_dump($a, $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PXa5a
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    4     1        ASSIGN                                                   !1, <false>
    6     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'constant'
          7        SEND_VAL                                                 'FALSE'
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                                 
   10    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.26 ms | 1394 KiB | 17 Q