3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date_create('2018-07-17T20:00:00Z', timezone_open('America/New_York')); echo date_format($date, 'Y-m-d H:i:sP') . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WbObg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_create'
          1        SEND_VAL                                                 '2018-07-17T20%3A00%3A00Z'
          2        INIT_FCALL                                               'timezone_open'
          3        SEND_VAL                                                 'America%2FNew_York'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    4     8        INIT_FCALL                                               'date_format'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'Y-m-d+H%3Ai%3AsP'
         11        DO_ICALL                                         $4      
         12        CONCAT                                           ~5      $4, '%0A'
         13        ECHO                                                     ~5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.34 ms | 1398 KiB | 19 Q