3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
268.89 ms | 1071 KiB | 15 Q