3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
196.73 ms | 2989 KiB | 15 Q