[go: nahoru, domu]

PHP 8.4.0 Alpha 4 available for testing

Voting

: min(two, seven)?
(Example: nine)

The Note You're Voting On

PhpMyCoder
14 years ago
Well, technically -1 will show all errors which includes any new ones included by PHP. My guess is that E_ALL will always include new error constants so I usually prefer:

<?php
error_reporting
(E_ALL | E_STRICT);
?>

Reason being: With a quick glance anyone can tell you what errors are reported. -1 might be a bit more cryptic to newer programmers.

<< Back to user notes page

To Top