3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "http://192.168.1.19/archive/2015-11-30/20151130-105559_9897323703-all.mp3"; $test2 = substr(strpos("archive"), $test); echo $test2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/diXtf
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2F192.168.1.19%2Farchive%2F2015-11-30%2F20151130-105559_9897323703-all.mp3'
    5     1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'strpos'
          3        SEND_VAL                                                 'archive'
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    7     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.06 ms | 1394 KiB | 17 Q