3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ "a" => 1, "A" => 2 ]; print_r($a); $dt = new \DateTime(); var_dump($dt->format('m/d/Y'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jdp9X
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $dt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    7     4        NEW                                              $4      'DateTime'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
    9     7        INIT_FCALL                                               'var_dump'
          8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              'm%2Fd%2FY'
         10        DO_FCALL                                      0  $7      
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.01 ms | 1394 KiB | 17 Q