3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/New_York'); $date = date('m-d-Y', mktime(0,0,0,7,27,2014)); var_dump($date); var_dump(strtotime($date));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QWZRK
function name:  (null)
number of ops:  26
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FNew_York'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'm-d-Y'
          5        INIT_FCALL                                               'mktime'
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 7
         10        SEND_VAL                                                 27
         11        SEND_VAL                                                 2014
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        ASSIGN                                                   !0, $3
    4    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
    5    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'strtotime'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.6 ms | 1395 KiB | 23 Q