3v4l.org

run code in 500+ PHP versions simultaneously
<?php $url = 'www.mydomian.com/myhtml.html'; echo substr( $url, 0, strrpos( $url, "?"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nhVii
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'www.mydomian.com%2Fmyhtml.html'
    4     1        INIT_FCALL                                                   'strrpos'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '%3F'
          4        DO_ICALL                                             $2      
          5        FRAMELESS_ICALL_3                substr              ~3      !0, 0
          6        OP_DATA                                                      $2
          7        ECHO                                                         ~3
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
184.27 ms | 2078 KiB | 16 Q