3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url='script.php?a=0&page=0'; $url='asdfad'; $i=2; echo strpos($url,'a'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Glc73
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'script.php%3Fa%3D0%26page%3D0'
    3     1        ASSIGN                                                   !0, 'asdfad'
    4     2        ASSIGN                                                   !1, 2
    5     3        INIT_FCALL                                               'strpos'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'a'
          6        DO_ICALL                                         $5      
          7        ECHO                                                     $5
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.46 ms | 1385 KiB | 15 Q