3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $array = array( "action" => "\"foo\"", "class" => "\"bar\"" ); print_r($array); $clean = array_map(function($item) { return str_replace("\"", "", $item); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/la7IF
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array, !1 = $clean
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   12     4        INIT_FCALL                                               'array_map'
          5        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fla7IF%3A12%240'
   14     6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
   12     8        ASSIGN                                                   !1, $5
   14     9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fla7IF%3A12%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/la7IF
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%22'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
   14     7*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fla7IF%3A12%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.68 ms | 1395 KiB | 19 Q