3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('d-m-Y h:i:s',strtotime(date('d-m-Y h:i:s',strtotime('02:07:03 Feb 04, 2013 PST'))." GMT")); echo date_default_timezone_set('GMT'); echo date('d-m-Y h:i:s',strtotime(date('d-m-Y h:i:s',strtotime('02:07:03 Feb 04, 2013 PST'))." GMT")); echo date_default_timezone_get();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/61tpU
function name:  (null)
number of ops:  40
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd-m-Y+h%3Ai%3As'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'd-m-Y+h%3Ai%3As'
          5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '02%3A07%3A03++Feb++04%2C++2013++PST'
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        CONCAT                                           ~2      $1, '+GMT'
         11        SEND_VAL                                                 ~2
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        DO_ICALL                                         $4      
         15        ECHO                                                     $4
    2    16        INIT_FCALL                                               'date_default_timezone_set'
         17        SEND_VAL                                                 'GMT'
         18        DO_ICALL                                         $5      
         19        ECHO                                                     $5
    3    20        INIT_FCALL                                               'date'
         21        SEND_VAL                                                 'd-m-Y+h%3Ai%3As'
         22        INIT_FCALL                                               'strtotime'
         23        INIT_FCALL                                               'date'
         24        SEND_VAL                                                 'd-m-Y+h%3Ai%3As'
         25        INIT_FCALL                                               'strtotime'
         26        SEND_VAL                                                 '02%3A07%3A03++Feb++04%2C++2013++PST'
         27        DO_ICALL                                         $6      
         28        SEND_VAR                                                 $6
         29        DO_ICALL                                         $7      
         30        CONCAT                                           ~8      $7, '+GMT'
         31        SEND_VAL                                                 ~8
         32        DO_ICALL                                         $9      
         33        SEND_VAR                                                 $9
         34        DO_ICALL                                         $10     
         35        ECHO                                                     $10
    4    36        INIT_FCALL                                               'date_default_timezone_get'
         37        DO_ICALL                                         $11     
         38        ECHO                                                     $11
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.09 ms | 1401 KiB | 21 Q