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

fix2

parent 979bce5d
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -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));
    ?>