1 | <?php namespace Understand\UnderstandLaravel5\Handlers; |
||
3 | class AsyncHandler extends BaseHandler |
||
4 | { |
||
5 | |||
6 | /** |
||
7 | * @param string $escapedData |
||
8 | * @return string|void |
||
9 | */ |
||
10 | protected function send($escapedData) |
||
27 | |||
28 | /** |
||
29 | * @param $requestData |
||
30 | * @return string|void |
||
31 | */ |
||
32 | protected function escapeshellarg($requestData) |
||
42 | |||
43 | /** |
||
44 | * Serialize data and send to storage |
||
45 | * |
||
46 | * @param array $requestData |
||
47 | * @return void |
||
48 | */ |
||
49 | public function handle(array $requestData) |
||
59 | } |
||
60 |
In PHP, under loose comparison (like
==
, or!=
, orswitch
conditions), values of different types might be equal.For
string
values, the empty string''
is a special case, in particular the following results might be unexpected: