3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(phpversion()); define('TRUE', false); var_dump(defined('tRue')); var_dump(defined('true')); var_dump(defined('TRUE')); nl2br(); var_dump(true); var_dump(TRUE); var_dump(tRue);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eYmQg
function name:  (null)
number of ops:  30
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'phpversion'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'define'
          6        SEND_VAL                                                 'TRUE'
          7        SEND_VAL                                                 <false>
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 <true>
         17        DO_ICALL                                                 
    9    18        INIT_FCALL                                               'nl2br'
         19        DO_ICALL                                                 
   10    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAL                                                 <true>
         22        DO_ICALL                                                 
   11    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAL                                                 <true>
         25        DO_ICALL                                                 
   12    26        INIT_FCALL                                               'var_dump'
         27        SEND_VAL                                                 <true>
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.92 ms | 1395 KiB | 21 Q