3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $data = "\xe2\x99\xa4"; $data = mb_ereg_replace("\u2665","heart",$data); var_dump($data); echo $data;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rpOVD
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, '%E2%99%A4'
    4     4        INIT_FCALL                                               'mb_ereg_replace'
          5        SEND_VAL                                                 '%5Cu2665'
          6        SEND_VAL                                                 'heart'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
    5    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    6    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.5 ms | 1394 KiB | 19 Q