3v4l.org

run code in 300+ PHP versions simultaneously
<?php strpos('a', 'a'); strpos(false, 'a'); strpos(array(), 'a');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CoekE
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 'a'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'strpos'
          5        SEND_VAL                                                 <false>
          6        SEND_VAL                                                 'a'
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'strpos'
          9        SEND_VAL                                                 <array>
         10        SEND_VAL                                                 'a'
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.17 ms | 1435 KiB | 14 Q