3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export((new DateTime(sprintf('%s', 'yesterday')))->format(DateTime::ATOM));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tcR0a
function name:  (null)
number of ops:  14
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        SEND_VAL_EX                                              'Y-m-d%5CTH%3Ai%3AsP'
         10        DO_FCALL                                      0  $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.33 ms | 1398 KiB | 17 Q