3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('2013-09-24T11:48:40.583Z'); var_dump($date->format(Y-m-d));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MJnmb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        SEND_VAL_EX                                              '2013-09-24T11%3A48%3A40.583Z'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    6     4        INIT_FCALL                                               'var_dump'
          5        INIT_METHOD_CALL                                         !0, 'format'
          6        FETCH_CONSTANT                                   ~4      'Y'
          7        FETCH_CONSTANT                                   ~5      'm'
          8        SUB                                              ~6      ~4, ~5
          9        FETCH_CONSTANT                                   ~7      'd'
         10        SUB                                              ~8      ~6, ~7
         11        SEND_VAL_EX                                              ~8
         12        DO_FCALL                                      0  $9      
         13        SEND_VAR                                                 $9
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.82 ms | 1394 KiB | 15 Q