3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line=" minchia= cazzo\=culo \= figa"; $parts=mb_split("\s*(?<!\\\)=\s*",$line); print_r($parts); echo mb_ereg_replace("\=", "=", $parts[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0EsJn
function name:  (null)
number of ops:  17
compiled vars:  !0 = $line, !1 = $parts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '+minchia%3D+cazzo%5C%3Dculo+%5C%3D+figa'
    5     1        INIT_FCALL                                               'mb_split'
          2        SEND_VAL                                                 '%5Cs%2A%28%3F%3C%21%5C%5C%29%3D%5Cs%2A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'mb_ereg_replace'
         10        SEND_VAL                                                 '%5C%3D'
         11        SEND_VAL                                                 '%3D'
         12        FETCH_DIM_R                                      ~6      !1, 1
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                         $7      
         15        ECHO                                                     $7
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.92 ms | 1394 KiB | 19 Q