3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Hi".PHP_EOL; $order = array("Pre show 2013","JCK 2012","Pre show 2014","JCK 2014"); print_r($order); echo PHP_EOL; echo PHP_EOL; print_r(preg_grep ("$2014",$order));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vsY00
function name:  (null)
number of ops:  15
compiled vars:  !0 = $order
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Hi%0A'
    3     1        ASSIGN                                                   !0, <array>
    4     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    5     5        ECHO                                                     '%0A'
    6     6        ECHO                                                     '%0A'
    7     7        INIT_FCALL                                               'print_r'
          8        INIT_FCALL                                               'preg_grep'
          9        SEND_VAL                                                 '%242014'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.92 ms | 1386 KiB | 17 Q