3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVEUR['HTTP_HOST'] = 'arpaco.localhost'; if (preg_match("/localhost/i", $_SERVEUR['HTTP_HOST'])) echo ($_SERVEUR['HTTP_HOST']);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/WFtKk
function name:  (null)
number of ops:  11
compiled vars:  !0 = $_SERVEUR
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'HTTP_HOST'
          1        OP_DATA                                                  'arpaco.localhost'
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2Flocalhost%2Fi'
          4        FETCH_DIM_R                                      ~2      !0, 'HTTP_HOST'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7      > JMPZ                                                     $3, ->10
    5     8    >   FETCH_DIM_R                                      ~4      !0, 'HTTP_HOST'
          9        ECHO                                                     ~4
         10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.95 ms | 1394 KiB | 15 Q