3v4l.org

run code in 300+ PHP versions simultaneously
<?php $part = stristr("my home is my castle","my",true); echo "This is my ".$part; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U2AIb
function name:  (null)
number of ops:  9
compiled vars:  !0 = $part
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'stristr'
          1        SEND_VAL                                                 'my+home+is+my+castle'
          2        SEND_VAL                                                 'my'
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    3     6        CONCAT                                           ~3      'This+is+my+', !0
          7        ECHO                                                     ~3
    4     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.92 ms | 1394 KiB | 15 Q