3v4l.org

run code in 500+ PHP versions simultaneously
<?php $break_has = strstr("test\n", "\n", true); $break_missing = strstr("test", "\n", true); echo '[', $break_has, '] - '; echo '[', $break_missing, ']';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ocqd8
function name:  (null)
number of ops:  13
compiled vars:  !0 = $break_has, !1 = $break_missing
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   FRAMELESS_ICALL_3                strstr              ~2      'test%0A', '%0A'
          1        OP_DATA                                                      <true>
          2        ASSIGN                                                       !0, ~2
    3     3        FRAMELESS_ICALL_3                strstr              ~4      'test', '%0A'
          4        OP_DATA                                                      <true>
          5        ASSIGN                                                       !1, ~4
    4     6        ECHO                                                         '%5B'
          7        ECHO                                                         !0
          8        ECHO                                                         '%5D+-+'
    5     9        ECHO                                                         '%5B'
         10        ECHO                                                         !1
         11        ECHO                                                         '%5D'
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.73 ms | 2802 KiB | 13 Q