Is warning guaranteed if it returns false?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: php-general@xxxxxxxxxxxxx
- Subject: Is warning guaranteed if it returns false?
- From: "petrov.boris.v.mail.ru via php-general" <php-general@xxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2023 18:19:54 +0300
- Reply-to: "petrov.boris.v@xxxxxxx" <petrov.boris.v@xxxxxxx>
- User-agent: Mozilla Thunderbird
Is there a formal rule in PHP that any built-in function returning false
to signify a failure must also issue a warning?
Or, in other words, is relying on warnings being converted to exceptions
by error handler is equivalent to checking return value, thus makes
checking return value unnecessary?
[Index of Archives]
[PHP Home]
[Apache Users]
[PHP on Windows]
[Kernel Newbies]
[PHP Install]
[PHP Classes]
[Pear]
[Postgresql]
[Postgresql PHP]
[PHP on Windows]
[PHP Database Programming]
[PHP SOAP]