Skip to content
Snippets Groups Projects
Commit 100b449a authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

fix2

parent 979bce5d
No related branches found
No related tags found
1 merge request!3Ptps function 3
......@@ -16,11 +16,12 @@ $func = new Hp\Test\Functions();
<body>
<h1>Function 1</h1>
<?php
$arr = [
['laravel', 'php'],
['codeigniter', 'php'],
['laravel', 'php'],
['c++', 'java'],
$array = [
['price'=>10, 'count'=>2],
['price'=>5, 'count'=>5],
['price'=>8, 'count'=>5],
['price'=>12, 'count'=>4],
['price'=>8, 'count'=>4],
];
print_r($func->sortPrice($array));
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment