3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.38 ms | 1398 KiB | 17 Q