3v4l.org

run code in 300+ PHP versions simultaneously
<?php $valueOfTrue = 0; // this was coming from config in real-world. $valueOfFalse = 1; // Same here. ^ define('TRUE', false, true); define('FALSE', true, true); var_dump(TRUE, FALSE); // Happy debugging...
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QQDcS
function name:  (null)
number of ops:  17
compiled vars:  !0 = $valueOfTrue, !1 = $valueOfFalse
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 1
    5     2        INIT_FCALL                                               'define'
          3        SEND_VAL                                                 'TRUE'
          4        SEND_VAL                                                 <false>
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'define'
          8        SEND_VAL                                                 'FALSE'
          9        SEND_VAL                                                 <true>
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                                 
    8    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 <true>
         14        SEND_VAL                                                 <false>
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.35 ms | 1386 KiB | 17 Q