Home
last modified time | relevance | path

Searched refs:LogicException (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/spl/
H A Dspl_exceptions.stub.php5 class LogicException extends Exception class
9 class BadFunctionCallException extends LogicException
17 class DomainException extends LogicException
21 class InvalidArgumentException extends LogicException
25 class LengthException extends LogicException
29 class OutOfRangeException extends LogicException
H A Dphp_spl.c182 SPL_ADD_CLASS(LogicException, z_list, sub, allow, ce_flags); \
/PHP-8.1/ext/spl/tests/
H A Dfileobject_003.phpt33 } catch (LogicException $e) {
34 echo "LogicException: ".$e->getMessage()."\n";
39 } catch (LogicException $e) {
40 echo "LogicException: ".$e->getMessage()."\n";
92 LogicException: Cannot use SplFileObject with directories
93 LogicException: Cannot use SplFileObject with directories
110 LogicException: Cannot use SplFileObject with directories
111 LogicException: Cannot use SplFileObject with directories
H A Dbug55701.phpt2 Bug #55701 (GlobIterator throws LogicException with message 'The parent constructor was not called')
19 // Throwing a LogicException is not correct
20 echo "threw LogicException (unexpected)\n";
25 // The derived classes must throw LogicException if the parent class constructor was not called
40 // It must not throw LogicException when the iterator is not valid
76 // However, they must not throw LogicException
235 // Supplemental test: no method should throw LogicException if it is invoked
269 // the LogicException is thrown (don't break the behaviour introduced to fix bug #54384)
H A DRecursiveIteratorIterator_invalid_aggregate.phpt15 } catch (LogicException $e) {
H A DSplFileObject_ftruncate_error_001.phpt27 } catch (LogicException $e) {
/PHP-8.1/Zend/tests/generators/
H A Dthrow_rethrow.phpt13 throw new LogicException('new throw');
28 Fatal error: Uncaught LogicException: new throw in %s:%d
/PHP-8.1/ext/phar/tests/
H A Dphar_oo_001.phpt29 catch (LogicException $e)
36 } catch (LogicException $e)
/PHP-8.1/Zend/tests/
H A Dbug80037.phpt21 throw new \LogicException("Property '$name' is not defined.");
/PHP-8.1/sapi/fpm/tests/
H A Dlogtool.inc175 throw new \LogicException('The message has not been set');
232 throw new \LogicException('The message has not been set');

Completed in 19 milliseconds