Searched refs:void (Results 1 – 25 of 408) sorted by relevance
12345678910>>...17
/PHP-8.1/build/ |
H A D | ax_gcc_func_attribute.m4 | 89 int foo( void ) { return 0; } 105 int foo( void ) __attribute__(($1)); 108 int foo( void ) __attribute__(($1)); 114 int foo( void ) __attribute__(($1)); 120 int foo( void ) __attribute__(($1)); 153 int my_foo( void ) { return 0; } 154 static int (*resolve_foo(void))(void) { return my_foo; } 161 void *foo( void ) __attribute__(($1)); 173 void foo( void ) __attribute__(($1)); 191 void *foo( void ) __attribute__(($1)); [all …]
|
/PHP-8.1/ext/spl/ |
H A D | spl_observer.stub.php | 8 public function update(SplSubject $subject): void; 14 public function attach(SplObserver $observer): void; 17 public function detach(SplObserver $observer): void; 20 public function notify(): void; 29 public function detach(object $object): void {} 47 public function setInfo(mixed $info): void {} 53 public function rewind(): void {} 65 public function next(): void {} 101 public function offsetUnset($object): void {} 139 public function rewind(): void {} [all …]
|
H A D | spl_iterators.stub.php | 11 public function next(): void {} 20 public function rewind(): void {} 59 public function rewind(): void {} 71 public function next(): void {} 136 public function next(): void {} 150 public function next(): void {} 192 public function next(): void {} 212 public function next(): void {} 284 public function next(): void {} 304 public function next(): void {} [all …]
|
H A D | spl_array.stub.php | 19 public function offsetUnset(mixed $key): void {} 22 public function append(mixed $value): void {} 34 public function setFlags(int $flags): void {} 55 public function unserialize(string $data): void {} 64 public function __unserialize(array $data): void {} 108 public function offsetUnset(mixed $key): void {} 114 public function append(mixed $value): void {} 138 public function setFlags(int $flags): void {} 201 public function rewind(): void {} 210 public function next(): void {} [all …]
|
H A D | spl_dllist.stub.php | 8 public function add(int $index, mixed $value): void {} 17 public function push(mixed $value): void {} 20 public function unshift(mixed $value): void {} 59 public function offsetSet($index, mixed $value): void {} 65 public function offsetUnset($index): void {} 68 public function rewind(): void {} 77 public function prev(): void {} 80 public function next(): void {} 86 public function unserialize(string $data): void {} 95 public function __unserialize(array $data): void {} [all …]
|
H A D | spl_directory.stub.php | 101 final public function _bad_state_ex(): void {} 121 public function rewind(): void {} 139 public function next(): void {} 142 public function seek(int $offset): void {} 153 public function rewind(): void {} 165 public function setFlags(int $flags): void {} 201 public function rewind(): void {} 267 public function next(): void {} 270 public function setFlags(int $flags): void {} 276 public function setMaxLineLen(int $maxLength): void {} [all …]
|
/PHP-8.1/ext/imap/ |
H A D | config.m4 | 41 PHP_IMAP_EXPORT void mm_log(void){} 42 PHP_IMAP_EXPORT void mm_dlog(void){} 43 PHP_IMAP_EXPORT void mm_flags(void){} 44 PHP_IMAP_EXPORT void mm_fatal(void){} 47 PHP_IMAP_EXPORT void mm_notify(void){} 48 PHP_IMAP_EXPORT void mm_login(void){} 50 PHP_IMAP_EXPORT void mm_status(void){} 51 PHP_IMAP_EXPORT void mm_lsub(void){} 52 PHP_IMAP_EXPORT void mm_list(void){} 53 PHP_IMAP_EXPORT void mm_exists(void){} [all …]
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg.stub.php | 5 function phpdbg_break_next(): void {} 7 function phpdbg_break_file(string $file, int $line): void {} 9 function phpdbg_break_method(string $class, string $method): void {} 11 function phpdbg_break_function(string $function): void {} 13 function phpdbg_color(int $element, string $color): void {} 15 function phpdbg_prompt(string $string): void {} 19 function phpdbg_clear(): void {} 21 function phpdbg_start_oplog(): void {}
|
/PHP-8.1/ext/phar/ |
H A D | phar_object.stub.php | 16 public function addEmptyDir(string $directory): void {} 31 public function compressFiles(int $compression): void {} 116 public function offsetSet($localName, $value): void {} 122 public function offsetUnset($localName): void {} 131 public function setMetadata(mixed $metadata): void {} 143 public function startBuffering(): void {} 146 public function stopBuffering(): void {} 389 public function offsetUnset($localName): void {} 426 public function startBuffering(): void {} 432 public function stopBuffering(): void {} [all …]
|
/PHP-8.1/ext/ffi/tests/ |
H A D | 002.phpt | 25 typedef void type6; 75 typedef void* type46; 83 static void f1(); 84 static inline void f2(); 92 typedef void * type54; 93 typedef void ** type55; 110 static void f4(); 111 static void f5(void); 112 static void f6(int x); 115 static void f9(int, int); [all …]
|
H A D | gh10568.phpt | 2 GH-10568 (Assertion failure when var_dump'ing void FFI result) 8 $libc = FFI::cdef("void strlen(const char *s);", "libc.so.6"); 17 // Yes, I know that strlen does not return void, but I need a simple & portable test case. 18 $libc = FFI::cdef("void strlen(const char *s);", "libc.so.6"); 23 object(FFI\CData:void)#2 (0) {
|
/PHP-8.1/Zend/ |
H A D | zend_vm_execute.skl | 8 ZEND_API void {%EXECUTOR_NAME%}_ex(zend_execute_data *ex) 32 ZEND_API void zend_{%EXECUTOR_NAME%}(zend_op_array *op_array, zval *return_value) 35 void *object_or_called_scope; 66 void {%INITIALIZER_NAME%}(void) 74 void zend_vm_dtor(void) 84 static void init_opcode_serialiser(void) 99 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op) 108 op->handler = (const void *)(zend_uintptr_t)Z_LVAL_P(zv); 111 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op) 134 ZEND_API const zend_op *zend_get_halt_op(void) [all …]
|
H A D | zend_interfaces.stub.php | 19 public function next(): void; 28 public function rewind(): void; 43 public function offsetSet(mixed $offset, mixed $value): void; 46 public function offsetUnset(mixed $offset): void; 80 public function next(): void {} 84 public function rewind(): void {}
|
/PHP-8.1/ext/zend_test/ |
H A D | test.stub.php | 84 function zend_test_void_return(): void {} 87 function zend_test_deprecated(mixed $arg = null): void {} 91 function zend_terminate_string(string &$str): void {} 93 function zend_leak_variable(mixed $variable): void {} 95 function zend_leak_bytes(int $bytes = 3): void {} 107 function zend_iterable(iterable $arg1, ?iterable $arg2 = null): void {} 123 function zend_test_crash(?string $message = null): void {} 126 function zend_test_override_libxml_global_state(): void {} 135 public function method(): void {} 145 public function method(): void {} [all …]
|
/PHP-8.1/ext/dom/ |
H A D | php_dom.stub.php | 39 public function append(...$nodes): void; 42 public function prepend(...$nodes): void; 47 public function remove(): void; 50 public function before(... $nodes): void; 53 public function after(...$nodes): void; 56 public function replaceWith(...$nodes): void; 108 public function __wakeup(): void {} 153 public function normalize(): void {} 192 public function __wakeup(): void {} 278 public function remove(): void {} [all …]
|
/PHP-8.1/Zend/tests/return_types/ |
H A D | void_disallowed2.phpt | 2 void return type: unacceptable cases: explicit return of some other value 6 function foo(): void { 7 return -1; // not permitted in a void function 13 Fatal error: A void function must not return a value in %s on line %d
|
H A D | void_disallowed1.phpt | 2 void return type: unacceptable cases: explicit NULL return 6 function foo(): void { 7 return NULL; // not permitted in a void function 13 Fatal error: A void function must not return a value (did you mean "return;" instead of "return nul…
|
H A D | void_allowed.phpt | 2 void return type: acceptable cases 6 function foo(): void { 12 function bar(): void {
|
H A D | void_parameter.phpt | 2 void return type: not valid as a parameter type 6 function foobar(void $a) {} 9 Fatal error: void cannot be used as a parameter type in %s on line %d
|
/PHP-8.1/Zend/tests/ |
H A D | magic_methods_inheritance_rules.phpt | 10 public function __clone(): void {} 22 public function __set(string $name, mixed $value): void {} 30 public function __unserialize(array $data): void {} 32 public function __unset(string $name): void {} 34 public function __wakeup(): void {} 58 public function __set(string|bool|float $name, mixed $value): void {} 62 public function __unserialize(array|string $data): void {} 64 public function __unset(string|array $name): void {}
|
H A D | ns_054.phpt | 8 function update(\SplSubject $x): void { 14 function attach(\SplObserver $x): void { 17 function notify(): void { 19 function detach(\SplObserver $x): void {
|
H A D | ns_056.phpt | 9 function update(\SplSubject $x): void { 15 function attach(SplObserver $x): void { 18 function notify(): void { 20 function detach(SplObserver $x): void {
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_017.phpt | 2 Test typed properties disallow void 6 public void $int; 12 Fatal error: Property Foo::$int cannot have type void in %s on line 3
|
/PHP-8.1/ext/intl/spoofchecker/ |
H A D | spoofchecker.stub.php | 22 public function setAllowedLocales(string $locales): void {} 25 public function setChecks(int $checks): void {} 29 public function setRestrictionLevel(int $level): void {}
|
/PHP-8.1/Zend/tests/type_declarations/intersection_types/invalid_types/ |
H A D | invalid_void_type.phpt | 2 void type cannot take part in an intersection type 6 function foo(): void&Iterator {} 10 Fatal error: Type void cannot be part of an intersection type in %s on line %d
|
Completed in 30 milliseconds
12345678910>>...17