3v4l.org

run code in 300+ PHP versions simultaneously
<?php //define("true",false); -- notice: Constant already defined ... define("TRUE", "love"); echo "\n",TRUE; echo "\n",constant("TRUE"); echo "\n",true;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/00cU9
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'TRUE'
          2        SEND_VAL                                                 'love'
          3        DO_ICALL                                                 
    4     4        ECHO                                                     '%0A'
          5        ECHO                                                     <true>
    5     6        ECHO                                                     '%0A'
          7        INIT_FCALL                                               'constant'
          8        SEND_VAL                                                 'TRUE'
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
    6    11        ECHO                                                     '%0A'
         12        ECHO                                                     <true>
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.15 ms | 1394 KiB | 17 Q