Home
last modified time | relevance | path

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

/PHP-7.3/ext/spl/
H A Dspl_exceptions.c53 REGISTER_SPL_SUB_CLASS_EX(LogicException, Exception, NULL, NULL); in PHP_MINIT_FUNCTION()
54 REGISTER_SPL_SUB_CLASS_EX(BadFunctionCallException, LogicException, NULL, NULL); in PHP_MINIT_FUNCTION()
56 REGISTER_SPL_SUB_CLASS_EX(DomainException, LogicException, NULL, NULL); in PHP_MINIT_FUNCTION()
57 REGISTER_SPL_SUB_CLASS_EX(InvalidArgumentException, LogicException, NULL, NULL); in PHP_MINIT_FUNCTION()
58 REGISTER_SPL_SUB_CLASS_EX(LengthException, LogicException, NULL, NULL); in PHP_MINIT_FUNCTION()
59 REGISTER_SPL_SUB_CLASS_EX(OutOfRangeException, LogicException, NULL, NULL); in PHP_MINIT_FUNCTION()
H A Dspl.php350 class LogicException extends Exception class
358 class BadFunctionCallException extends LogicException
379 class DomainException extends LogicException
389 class InvalidArgumentException extends LogicException
400 class LengthException extends LogicException
412 class OutOfRangeException extends LogicException
H A Dphp_spl.c198 SPL_ADD_CLASS(LogicException, z_list, sub, allow, ce_flags); \
/PHP-7.3/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";
94 LogicException: Cannot use SplFileObject with directories
95 LogicException: Cannot use SplFileObject with directories
112 LogicException: Cannot use SplFileObject with directories
113 LogicException: Cannot use SplFileObject with directories
H A Dbug55701.phpt18 } catch (LogicException $e) {
19 // Throwing a LogicException is not correct
20 echo "threw LogicException (unexpected)\n";
30 } catch (LogicException $e) {
31 echo "threw LogicException (expected)\n";
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
332 extends GlobIterator... threw LogicException (expected)
333 extends SplFileObject... threw LogicException (expected)
[all …]
H A DSplFileObject_seek_error_001.phpt10 } catch (LogicException $e) {
H A Dspl_autoload_008.phpt83 LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dyn…
103 LogicException: Passed array specifies a non static method but no object (non-static method MyAutoL…
H A Dbug54281.phpt15 Fatal error: Uncaught LogicException: The object is in an invalid state as the parent constructor w…
H A DSplFileObject_ftruncate_error_001.phpt27 } catch (LogicException $e) {
H A Diterator_031.phpt59 catch(LogicException $e)
H A Dbug54384.phpt10 } catch (LogicException $e) {
/PHP-7.3/Zend/tests/generators/
H A Dthrow_rethrow.phpt13 throw new LogicException('new throw');
28 Fatal error: Uncaught LogicException: new throw in %s:%d
/PHP-7.3/ext/phar/tests/
H A Dphar_oo_001.phpt31 catch (LogicException $e)
38 } catch (LogicException $e)
/PHP-7.3/Zend/tests/
H A Dmethods-on-non-objects-nested.inc3 throw new LogicException('Should not be called');
/PHP-7.3/ext/spl/internal/
H A Dmultipleiterator.inc196 * @throws LogicException if mode MIT_NEED_ALL is set and at least one
214 throw new LogicException('Called key() with non valid sub iterator');
/PHP-7.3/sapi/fpm/tests/
H A Dlogtool.inc96 throw new \LogicException('The message has not been set');
137 throw new \LogicException('The message has not been set');

Completed in 24 milliseconds