3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = "instructions and recipes"; if (strrpos(" $i ", " instr") == true) {print 1;}
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/eIqD3
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'instructions+and+recipes'
    5     1        INIT_FCALL                                               'strrpos'
          2        ROPE_INIT                                     3  ~3      '++'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '+'
          5        SEND_VAL                                                 ~2
          6        SEND_VAL                                                 '+instr'
          7        DO_ICALL                                         $5      
          8        BOOL                                             ~6      $5
          9      > JMPZ                                                     ~6, ->11
         10    >   ECHO                                                     1
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.05 ms | 1394 KiB | 15 Q