3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export((new DateTime(sprintf('%s', 'yesterday')))->format(DateTime::DateTime::ATOM));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OSC5h
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
          1        NEW                                              $0      'DateTime'
          2        INIT_FCALL                                               'sprintf'
          3        SEND_VAL                                                 '%25s'
          4        SEND_VAL                                                 'yesterday'
          5        DO_ICALL                                         $1      
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
          8        INIT_METHOD_CALL                                         $0, 'format'
          9        FETCH_CLASS_CONSTANT                             ~3      'DateTime', 'DateTime'
         10        FETCH_CLASS                                   0  $4      ~3
         11        FETCH_CLASS_CONSTANT                             ~5      $4, 'ATOM'
         12        SEND_VAL_EX                                              ~5
         13        DO_FCALL                                      0  $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.84 ms | 1399 KiB | 17 Q