3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'http://visitbeyond.areadigital.org/var/site/storage/images/media/images/china/beijing-urban-outskirts-5d/1.-steep-great-wall/196692-1-eng-GB/1.-steep-great-wall_gallery_large.jpg'; echo substr($str, 0, 20);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mHClv
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fvisitbeyond.areadigital.org%2Fvar%2Fsite%2Fstorage%2Fimages%2Fmedia%2Fimages%2Fchina%2Fbeijing-urban-outskirts-5d%2F1.-steep-great-wall%2F196692-1-eng-GB%2F1.-steep-great-wall_gallery_large.jpg'
    5     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 20
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162 ms | 1394 KiB | 15 Q