3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = '/home/nasann/public_html/wp-content/uploads/2014/03/bf4ff9b544.png'; $firstPart = strlen('public_html/'); echo $output = substr($title, $firstPart);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3QLJJ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $title, !1 = $firstPart, !2 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '%2Fhome%2Fnasann%2Fpublic_html%2Fwp-content%2Fuploads%2F2014%2F03%2Fbf4ff9b544.png'
    2     1        ASSIGN                                                   !1, 12
    3     2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                           ~6      !2, $5
          7        ECHO                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.11 ms | 1385 KiB | 15 Q