Home
last modified time | relevance | path

Searched refs:throw (Results 301 – 325 of 372) sorted by relevance

1...<<1112131415

/PHP-7.0/ext/spl/tests/
H A Dheap_corruption.phpt32 throw new Exception('Compare exception');
H A Dspl_heap_iteration_error.phpt12 throw new Exception('Corrupting heap',99);
H A DCallbackFilterIteratorTest-002.phpt36 throw new Exception("some message");
H A Dbug37457.phpt52 throw new Exception("Failure in Accept");
H A Dheap_009.phpt2 SPL: SplHeap and friends, throw: An iterator cannot be used with foreach by reference
H A Dheap_004.phpt7 throw new exception("foo");
H A Dcountable_count_variation1.phpt31 throw new Exception('Thrown from count');
H A Diterator_041a.phpt15 throw new Exception("State $state: $method()");
/PHP-7.0/Zend/tests/
H A Ddebug_backtrace_with_include_and_this.phpt14 throw new Exception('Failed loading '.$class);
H A Dbug71731.phpt15 throw new Exception('Unknown offset');
H A Dforeach_004.phpt15 throw new Exception($trap);
/PHP-7.0/Zend/tests/generators/
H A Dmutli_yield_from_with_exception.phpt7 throw new Exception();
H A Dbasic_yield_from_exception_handling.phpt24 for ($gen = gen(); $gen->valid(); $gen->throw(new Exception((string) $i++))) {
/PHP-7.0/ext/spl/internal/
H A Dsplfileobject.inc39 * @throw RuntimeException If file cannot be opened (e.g. insufficient
47 throw new RuntimeException("Cannot open file $file_name");
321 throw new RuntimeException("Cannot read from file " . $this->fname);
351 throw new RuntimeException("Cannot read from file " . $this->fname);
H A Dsplobjectstorage.inc151 * @throw UnexpectedValueException if Object $obj is not contained in
167 throw new UnexpectedValueException('Object not found');
/PHP-7.0/ext/curl/tests/
H A Dbug63363.phpt17 /* Case that should throw an error */
/PHP-7.0/ext/standard/tests/array/
H A Darray_walk_recursive1.phpt22 throw new Exception($v3);
/PHP-7.0/Zend/tests/grammar/
H A Dsemi_reserved_008.phpt11 throw(){ echo __METHOD__, PHP_EOL; }
/PHP-7.0/ext/spl/
H A Dspl.php212 * @param throw whether to throw or issue an error on failure.
214 function spl_autoload_register(string $autoload_function = "spl_autoload", $throw = true) {/**/}; argument
/PHP-7.0/ext/session/tests/
H A Dsession_module_name_variation3.phpt22 throw new Exception("Stop...!");
H A Dsession_set_save_handler_error3.phpt22 throw new Exception("Do something bad..!");
/PHP-7.0/ext/intl/tests/
H A Dbreakiter_setText_error.phpt17 function __destruct() { var_dump('destructed'); throw new Exception('e'); }
/PHP-7.0/ext/standard/tests/serialize/
H A Dbug72663.phpt17 throw new Exception('Unserialization forbidden');
/PHP-7.0/ext/phar/tests/tar/
H A Dbug71317-duplicate-filename.phpt33throw new Exception(sprintf('Contents of file2.txt ("%s") is invalid, expected "%s"', $fileContent…
/PHP-7.0/ext/reflection/tests/
H A DReflectionMethod_invokeArgs_basic.phpt16 throw new Exception("Called willThrow()");

Completed in 35 milliseconds

1...<<1112131415