3v4l.org

run code in 500+ PHP versions simultaneously
<?php $url = 'https://www.youtube.com/v/9hYj_PFZGug'; $idPos = stripos($url, '/v/'); var_dump($idPos);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OI4sK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $url, !1 = $idPos
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'https%3A%2F%2Fwww.youtube.com%2Fv%2F9hYj_PFZGug'
    4     1        INIT_FCALL                                                   'stripos'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '%2Fv%2F'
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
    5     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.59 ms | 2687 KiB | 15 Q