Offset with max - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of Offset with max.php
- <?php
- var_dump(['null' => max(0, null)]);
- var_dump(['empty' => max(0, '')]);
- var_dump(['negative' => max(0, -10)]);
- var_dump(['negative string' => max(0, '-10')]);
- var_dump(['zero' => max(0, 0)]);
- var_dump(['zero string' => max(0, '0')]);
- var_dump(['positive' => max(0, 10)]);
- var_dump(['positive string' => max(0, '10')]);
File Description
- Offset with max
- PHP Code
- 12 Sep-2019
- 324 Bytes
You can Share it:
Latest PHP Pastes