3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ ['url' => 'dqsdq.fr', 'lot' => '1245'] ]; $result = array_filter($a, function ($actOfSale) { print_r($actOfSale); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Po4B
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'array_filter'
          2        SEND_VAR                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                          ~3      [0]
    9     4        SEND_VAL                                                 ~3
    7     5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    9     7      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Po4B
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $actOfSale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    9     4      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
224.5 ms | 1010 KiB | 15 Q