3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.5 ms | 1394 KiB | 17 Q