3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!defined('PHP_EOL')) define(PHP_EOL, "\r\n"); date_default_timezone_set('Europe/London'); print strtotime('next thursday'); print PHP_EOL; print_r(new DateTime('next thursday'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 5
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/NtQ7t
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <false>, ->5
          1    >   INIT_FCALL                                               'define'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAL                                                 '%0D%0A'
          4        DO_ICALL                                                 
    4     5    >   INIT_FCALL                                               'date_default_timezone_set'
          6        SEND_VAL                                                 'Europe%2FLondon'
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAL                                                 'next+thursday'
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
    8    12        ECHO                                                     '%0A'
   10    13        INIT_FCALL                                               'print_r'
         14        NEW                                              $3      'DateTime'
         15        SEND_VAL_EX                                              'next+thursday'
         16        DO_FCALL                                      0          
         17        SEND_VAR                                                 $3
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.73 ms | 1395 KiB | 21 Q