3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ini_get( date.timezone); echo date_default_timezone_get(); echo date( 'Y-m-d', strtotime( 'today') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y2bq7
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_get'
          1        FETCH_CONSTANT                                   ~0      'date'
          2        FETCH_CONSTANT                                   ~1      'timezone'
          3        CONCAT                                           ~2      ~0, ~1
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        ECHO                                                     $3
    3     7        INIT_FCALL                                               'date_default_timezone_get'
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
    4    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y-m-d'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 'today'
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                         $6      
         17        ECHO                                                     $6
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1394 KiB | 21 Q