3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(function_exists('date_default_timezone_set')) { date_default_timezone_set('Europe/London'); } $result = strtotime('23/05/2014 + 226 days'); var_dump($result); echo date('r', $result);
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/gUiZi
function name:  (null)
number of ops:  20
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'date_default_timezone_set'
          2        DO_ICALL                                         $1      
          3      > JMPZ                                                     $1, ->7
    4     4    >   INIT_FCALL                                               'date_default_timezone_set'
          5        SEND_VAL                                                 'Europe%2FLondon'
          6        DO_ICALL                                                 
    6     7    >   INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '23%2F05%2F2014+%2B+226+days'
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
    8    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $6      
         18        ECHO                                                     $6
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.78 ms | 1395 KiB | 23 Q