3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVER['HTTP_HOST'] = '192.168.56.1:3002'; $a = $_SERVER['HTTP_HOST']; $b = 'vagrant.khanovaskola.cz'; $c = 'vagrant.khanovaskola.czx'; $d = 'xvagrant.khanovaskola.cz'; dump($a, $b, $c, $d); dump($a === $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/40Mbu
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $4      '_SERVER'
          1        ASSIGN_DIM                                               $4, 'HTTP_HOST'
          2        OP_DATA                                                  '192.168.56.1%3A3002'
    5     3        FETCH_R                      global              ~6      '_SERVER'
          4        FETCH_DIM_R                                      ~7      ~6, 'HTTP_HOST'
          5        ASSIGN                                                   !0, ~7
    6     6        ASSIGN                                                   !1, 'vagrant.khanovaskola.cz'
    7     7        ASSIGN                                                   !2, 'vagrant.khanovaskola.czx'
    8     8        ASSIGN                                                   !3, 'xvagrant.khanovaskola.cz'
    9     9        INIT_FCALL_BY_NAME                                       'dump'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        SEND_VAR_EX                                              !2
         13        SEND_VAR_EX                                              !3
         14        DO_FCALL                                      0          
   10    15        INIT_FCALL_BY_NAME                                       'dump'
         16        IS_IDENTICAL                                     ~13     !0, !1
         17        SEND_VAL_EX                                              ~13
         18        DO_FCALL                                      0          
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1394 KiB | 13 Q