3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = "2012-05-18 usr abc removed device id=858 sn=abc cmmac=000 drumac=123"; $b = "2012-05-18 usr abc removed device id=858 sn=abc cmmac=000 drumac=12352015-03-26 usr mabdel001c removed device id=814 sn=abcd cmmac=1234 drumac=000"; Echo str_replace($a, "", $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KiZLN
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '2012-05-18+usr+abc+removed+device+id%3D858+sn%3Dabc+cmmac%3D000+drumac%3D123'
    4     1        ASSIGN                                                       !1, '2012-05-18+usr+abc+removed+device+id%3D858+sn%3Dabc+cmmac%3D000+drumac%3D12352015-03-26+usr+mabdel001c+removed+device+id%3D814+sn%3Dabcd+cmmac%3D1234+drumac%3D000'
    6     2        FRAMELESS_ICALL_3                str_replace         ~4      !0, ''
          3        OP_DATA                                                      !1
          4        ECHO                                                         ~4
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.04 ms | 2132 KiB | 13 Q