<?php
$array = array ( 0 => array ( 'afa' => 'AM', 'description' => 'Ad�mentes t�telek', 'value' => '0.0', 'id' => '50', ), 1 => array ( 'afa' => '18 %', 'description' => '18 %- os �FA', 'value' => '0.17999999999999999', 'id' => '48', ), 2 => array ( 'afa' => 'K�z�ss�gi 0', 'description' => 'K�z�ss�gi ad�z�s� t�telek alapja', 'value' => '0.0', 'id' => '49', ), 3 => array ( 'afa' => 'EVA 27 %', 'description' => 'EVA 27 %- os �FA', 'value' => '0.27000000000000002', 'id' => '51', ), 4 => array ( 'afa' => '5 %', 'description' => '5 % -os �FA', 'value' => '5.0000000000000003E-2', 'id' => '25', ), 5 => array ( 'afa' => 'Import', 'description' => 'Import, nem EU beszerz�s', 'value' => '0.0', 'id' => '52', ), 6 => array ( 'afa' => 'Ford�tott 0', 'description' => 'Ford�tott ad�z�s� t�telek alapja', 'value' => '0.0', 'id' => '33', ), 7 => array ( 'afa' => 'Export', 'description' => 'Export, nem EU �rt�kes�t�s', 'value' => '0.0', 'id' => '53', ), 8 => array ( 'afa' => 'K�z�ss�gi szolg.', 'description' => 'K�z�ss�gi ad�z�s� szolg�ltat�s t�telek alapja', 'value' => '0.0', 'id' => '54', ), 9 => array ( 'afa' => '�FA k�r�n k.', 'description' => '�FA k�r�n k�v�li t�telek', 'value' => '0.0', 'id' => '37', ), 10 => array ( 'afa' => '27 %', 'description' => '27 %- os �FA', 'value' => '0.27000000000000002', 'id' => '55', ), 11 => array ( 'afa' => 'BKT ktg-k�nt elsz�m.', 'description' => 'Le nem vonhat� �fa miatt k�lts�gk�nt elsz�molt ad�', 'value' => '0.0', 'id' => '56', ), 12 => array ( 'afa' => '27 % TE', 'description' => '27 %- os t�rgyi eszk�z �FA', 'value' => '0.27000000000000002', 'id' => '39', ), 13 => array ( 'afa' => 'Ford�tott 27 %', 'description' => 'Ford�tott ad�z�s� t�telek �FA �rt�ke', 'value' => '0.27000000000000002', 'id' => '42', ), 14 => array ( 'afa' => '25 %', 'description' => '25 %- os �FA', 'value' => '0.25', 'id' => '43', ), 15 => array ( 'afa' => 'K�z�ss�gi 27 %', 'description' => 'K�z�ss�gi ad�z�s� t�telek �FA �rt�ke', 'value' => '0.27000000000000002', 'id' => '44', ), 16 => array ( 'afa' => '�th�z�d�l �fa 27%', 'description' => 'Elt�r� id�szak� �fa', 'value' => '0.27000000000000002', 'id' => '60', ), );
for($i = 0; $i<1000;$i++)
{
utf8_converter($array);
}
echo $utf8_converter($array);
function utf8_converter($array)
{
array_walk_recursive($array, function(&$item, $key){
if(is_string($item)){
$item = utf8_encode($item);
}
});
return $array;
}
?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 3
Branch analysis from position: 9
Branch analysis from position: 3
filename: /in/VPDVv
function name: (null)
number of ops: 14
compiled vars: !0 = $array, !1 = $i, !2 = $utf8_converter
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
4 1 ASSIGN !1, 0
2 > JMP ->7
6 3 > INIT_FCALL_BY_NAME 'utf8_converter'
4 SEND_VAR_EX !0
5 DO_FCALL 0
4 6 PRE_INC !1
7 > IS_SMALLER !1, 1000
8 > JMPNZ ~7, ->3
9 9 > INIT_DYNAMIC_CALL !2
10 SEND_VAR_EX !0
11 DO_FCALL 0 $8
12 ECHO $8
21 13 > RETURN 1
Function utf8_converter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/VPDVv
function name: utf8_converter
number of ops: 8
compiled vars: !0 = $array
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
10 0 E > RECV !0
12 1 INIT_FCALL 'array_walk_recursive'
2 SEND_REF !0
3 DECLARE_LAMBDA_FUNCTION '%00%7Bclosure%7D%2Fin%2FVPDVv%3A12%240'
16 4 SEND_VAL ~1
5 DO_ICALL
18 6 > RETURN !0
19 7* > RETURN null
End of function utf8_converter
Function %00%7Bclosure%7D%2Fin%2FVPDVv%3A12%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename: /in/VPDVv
function name: {closure}
number of ops: 9
compiled vars: !0 = $item, !1 = $key
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
12 0 E > RECV !0
1 RECV !1
13 2 TYPE_CHECK 64 !0
3 > JMPZ ~2, ->8
14 4 > INIT_FCALL 'utf8_encode'
5 SEND_VAR !0
6 DO_ICALL $3
7 ASSIGN !0, $3
16 8 > > RETURN null
End of function %00%7Bclosure%7D%2Fin%2FVPDVv%3A12%240
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
194.45 ms | 1400 KiB | 17 Q