3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( strtotime('+ 3 days'), strtotime('2012-04-08 14:23:52') ); var_dump((new DateTime('@1403171054'))->format('Y-m-d'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bNsKq
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
    3     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '%2B+3+days'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
    4     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '2012-04-08+14%3A23%3A52'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'var_dump'
         11        NEW                                              $3      'DateTime'
         12        SEND_VAL_EX                                              '%401403171054'
         13        DO_FCALL                                      0          
         14        INIT_METHOD_CALL                                         $3, 'format'
         15        SEND_VAL_EX                                              'Y-m-d'
         16        DO_FCALL                                      0  $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.29 ms | 1395 KiB | 17 Q