3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "html://balsdfa/?f=1"; echo 'p: '.strpos($url,"f=1"); echo 'p2: '.strpos($url,"f=2");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KBNvG
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'html%3A%2F%2Fbalsdfa%2F%3Ff%3D1'
    3     1        INIT_FCALL                                               'strpos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'f%3D1'
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      'p%3A+', $2
          6        ECHO                                                     ~3
    4     7        INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 'f%3D2'
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      'p2%3A+', $4
         12        ECHO                                                     ~5
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.75 ms | 1394 KiB | 15 Q