3v4l.org

run code in 300+ 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:  19
compiled vars:  !0 = $break_has, !1 = $break_missing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strstr'
          1        SEND_VAL                                                 'test%0A'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    3     6        INIT_FCALL                                               'strstr'
          7        SEND_VAL                                                 'test'
          8        SEND_VAL                                                 '%0A'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !1, $4
    4    12        ECHO                                                     '%5B'
         13        ECHO                                                     !0
         14        ECHO                                                     '%5D+-+'
    5    15        ECHO                                                     '%5B'
         16        ECHO                                                     !1
         17        ECHO                                                     '%5D'
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.92 ms | 1394 KiB | 15 Q