3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'Europe/London'; $bar = 'Europe/London;testing'; $newfoo = new DateTimeZone($foo); $newbar = new DateTimeZone($bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y4QQq
function name:  (null)
number of ops:  11
compiled vars:  !0 = $foo, !1 = $bar, !2 = $newfoo, !3 = $newbar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Europe%2FLondon'
    4     1        ASSIGN                                                   !1, 'Europe%2FLondon%3Btesting'
    6     2        NEW                                              $6      'DateTimeZone'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $6
    7     6        NEW                                              $9      'DateTimeZone'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !3, $9
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.18 ms | 1393 KiB | 13 Q