3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_create('2011-04-24')->modify('-1 days')->format('Y-m-d');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uArFh
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_create'
          1        SEND_VAL                                                 '2011-04-24'
          2        DO_ICALL                                         $0      
          3        INIT_METHOD_CALL                                         $0, 'modify'
          4        SEND_VAL_EX                                              '-1+days'
          5        DO_FCALL                                      0  $1      
          6        INIT_METHOD_CALL                                         $1, 'format'
          7        SEND_VAL_EX                                              'Y-m-d'
          8        DO_FCALL                                      0  $2      
          9        ECHO                                                     $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
124.05 ms | 1447 KiB | 15 Q