3v4l.org

run code in 300+ PHP versions simultaneously
<?=date('d-m-Y h:i:s',strtotime(date('d-m-Y h:i:s',strtotime('02:07:03 Feb 04, 2013 PST'))." GMT"))."<br>"?> <?date_default_timezone_set('GMT')?> <?=date('d-m-Y h:i:s',strtotime(date('d-m-Y h:i:s',strtotime('02:07:03 Feb 04, 2013 PST'))." GMT"));?> <?=date_default_timezone_get()?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BN0NT
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        CONCAT                                           ~5      $4, '%3Cbr%3E'
         16        ECHO                                                     ~5
    2    17        INIT_FCALL                                               'date_default_timezone_set'
         18        SEND_VAL                                                 'GMT'
         19        DO_ICALL                                                 
    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                                         $7      
         28        SEND_VAR                                                 $7
         29        DO_ICALL                                         $8      
         30        CONCAT                                           ~9      $8, '+GMT'
         31        SEND_VAL                                                 ~9
         32        DO_ICALL                                         $10     
         33        SEND_VAR                                                 $10
         34        DO_ICALL                                         $11     
         35        ECHO                                                     $11
    4    36        INIT_FCALL                                               'date_default_timezone_get'
         37        DO_ICALL                                         $12     
         38        ECHO                                                     $12
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.91 ms | 1388 KiB | 21 Q