Created
March 15, 2021 07:25
-
-
Save phuoctamm/2bb017faf158a8b2960757f70a4ba92e to your computer and use it in GitHub Desktop.
test.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ids = [1, 2, 3, 4, 5]; | |
foreach($ids as $id) { | |
$total = Service::GetPrice($id, Auth::user()->role) * $data["amount"]; | |
if($total > Auth::) .... { | |
return "so du ko du"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment