3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); } var_dump( date('r', strtotime('02/28/2011 00:00')), date('r', strtotime('03/02/2011 00:00')) );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/fNLdp
function name:  (null)
number of ops:  26
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'date_default_timezone_set'
          2        DO_ICALL                                         $0      
          3      > JMPZ                                                     $0, ->7
          4    >   INIT_FCALL                                               'date_default_timezone_set'
          5        SEND_VAL                                                 'UTC'
          6        DO_ICALL                                                 
    5     7    >   INIT_FCALL                                               'var_dump'
    6     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'r'
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 '02%2F28%2F2011+00%3A00'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
    7    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'r'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAL                                                 '03%2F02%2F2011+00%3A00'
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                         $5      
         23        SEND_VAR                                                 $5
         24        DO_ICALL                                                 
    8    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.12 ms | 1395 KiB | 23 Q