3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string_before = "BMM 35@biblesoft.com"; $string_after = str_replace(' ', '', $string_before); if ($string_before == $string_after) { print_r("Uhh..."); } else { print_r("As expected"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SbQNs
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string_before, !1 = $string_after
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'BMM+35%40biblesoft.com'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '+'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    5     7        IS_EQUAL                                                 !0, !1
          8      > JMPZ                                                     ~5, ->13
    6     9    >   INIT_FCALL                                               'print_r'
         10        SEND_VAL                                                 'Uhh...'
         11        DO_ICALL                                                 
         12      > JMP                                                      ->16
    9    13    >   INIT_FCALL                                               'print_r'
         14        SEND_VAL                                                 'As+expected'
         15        DO_ICALL                                                 
   10    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.66 ms | 1386 KiB | 17 Q