3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "html://balsdfa/?f=1"; echo 'p: '.(NULL==strpos($url,"f=1")); echo 'p2: '.(NULL==strpos($url,"f=2"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XtH1l
function name:  (null)
number of ops:  16
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        IS_EQUAL                                         ~3      $2, null
          6        CONCAT                                           ~4      'p%3A+', ~3
          7        ECHO                                                     ~4
    4     8        INIT_FCALL                                               'strpos'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'f%3D2'
         11        DO_ICALL                                         $5      
         12        IS_EQUAL                                         ~6      $5, null
         13        CONCAT                                           ~7      'p2%3A+', ~6
         14        ECHO                                                     ~7
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.44 ms | 1394 KiB | 15 Q