3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test =[ "data" => (new \DateTime())->format(\DateTime::RFC850) ]; print_r($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/omr3b
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $1, 'format'
          3        SEND_VAL_EX                                              'l%2C+d-M-y+H%3Ai%3As+T'
          4        DO_FCALL                                      0  $3      
          5        INIT_ARRAY                                       ~4      $3, 'data'
    2     6        ASSIGN                                                   !0, ~4
    6     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.77 ms | 1394 KiB | 15 Q