3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \DateTimeZone("Europe/Rome"); $b = new \DateTimeZone("Europe/Athens"); if($a == $b) echo "Test";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/9JeMu
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'DateTimeZone'
          1        SEND_VAL_EX                                              'Europe%2FRome'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    5     4        NEW                                              $5      'DateTimeZone'
          5        SEND_VAL_EX                                              'Europe%2FAthens'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $5
    7     8        IS_EQUAL                                                 !0, !1
          9      > JMPZ                                                     ~8, ->11
    8    10    >   ECHO                                                     'Test'
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.69 ms | 1393 KiB | 13 Q