Commit bd86313a authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

fix2

parent 143c7d08
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -17,10 +17,11 @@ $func = new Hp\Test\Functions();
    <h1>Function 1</h1>
    <?php
        $array = [
            ['id'=>10, 'name'=>'Jhon', 'age'=>23],  
            ['id'=>32, 'name'=>'Alex', 'age'=>34],  
            ['id'=>54, 'name'=>'Bob', 'age'=>45],  
            ['id'=>6, 'name'=>'Mike', 'age'=>61],
            ['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));
    ?>