3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'image-380x409.jpg'; echo '<pre>'; var_dump( strpos('.', $string)); echo '</pre>'; //$string = substr_replace ( mixed $string , mixed $replacement , mixed $start [, mixed $length ] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W72cY
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'image-380x409.jpg'
    4     1        ECHO                                                     '%3Cpre%3E'
    5     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'strpos'
          4        SEND_VAL                                                 '.'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    6     9        ECHO                                                     '%3C%2Fpre%3E'
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.38 ms | 934 KiB | 18 Q