Searched refs:void (Results 1 – 25 of 156) sorted by relevance
1234567
/PHP-8.0/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.0/ext/imap/ |
H A D | config.m4 | 29 PHP_IMAP_EXPORT void mm_log(void){} 30 PHP_IMAP_EXPORT void mm_dlog(void){} 31 PHP_IMAP_EXPORT void mm_flags(void){} 32 PHP_IMAP_EXPORT void mm_fatal(void){} 35 PHP_IMAP_EXPORT void mm_notify(void){} 36 PHP_IMAP_EXPORT void mm_login(void){} 38 PHP_IMAP_EXPORT void mm_status(void){} 39 PHP_IMAP_EXPORT void mm_lsub(void){} 40 PHP_IMAP_EXPORT void mm_list(void){} 41 PHP_IMAP_EXPORT void mm_exists(void){} [all …]
|
/PHP-8.0/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.0/ext/zend_test/ |
H A D | test.stub.php | 40 function zend_test_void_return(): void {} 43 function zend_test_deprecated(mixed $arg = null): void {} 47 function zend_terminate_string(string &$str): void {} 49 function zend_leak_variable(mixed $variable): void {} 51 function zend_leak_bytes(int $bytes = 3): void {} 63 function zend_iterable(iterable $arg1, ?iterable $arg2 = null): void {} 72 function zend_test_override_libxml_global_state(): void {} 80 public function method(): void {} 88 public function method(): void {}
|
/PHP-8.0/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 | 100.phpt | 8 ffi_cdef("extern void *zend_printf;", ffi_get_php_dll_name()); 20 const char *get_zend_version(void); 21 //char *get_zend_version(void); 26 void $fastcall zend_str_tolower(char *str, size_t length);
|
/PHP-8.0/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_generators.stub.php | 7 public function rewind(): void {} 15 public function next(): void {}
|
/PHP-8.0/ext/dom/ |
H A D | php_dom.stub.php | 22 public function append(...$nodes): void; 25 public function prepend(...$nodes): void; 30 public function remove(): void; 33 public function before(... $nodes): void; 36 public function after(...$nodes): void; 39 public function replaceWith(...$nodes): void; 123 public function append(...$nodes): void {} 160 public function remove(): void {} 166 public function after(...$nodes): void {} 235 public function remove(): void {} [all …]
|
/PHP-8.0/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
|
H A D | 019.phpt | 2 __clone can only declare void return 11 Fatal error: Foo::__clone(): Return type must be void when declared in %s on line %d
|
H A D | 035.phpt | 2 __unset can only declare void return 10 Fatal error: Foo::__unset(): Return type must be void when declared in %s on line %d
|
/PHP-8.0/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 {}
|
/PHP-8.0/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.0/ext/readline/ |
H A D | readline.stub.php | 31 function readline_callback_read_char(): void {} 35 function readline_redisplay(): void {} 38 function readline_on_new_line(): void {}
|
/PHP-8.0/Zend/tests/type_declarations/mixed/inheritance/ |
H A D | mixed_return_inheritance_error1.phpt | 2 Test that a mixed return type can't be overridden by the void type 13 public function method(): void {} 18 Fatal error: Declaration of Bar::method(): void must be compatible with Foo::method(): mixed in %s …
|
H A D | mixed_return_inheritance_error3.phpt | 2 Test that the void return type can't be overridden by the mixed type 8 public function method(): void {} 18 Fatal error: Declaration of Bar::method(): mixed must be compatible with Foo::method(): void in %s …
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.stub.php | 22 final private function __clone(): void {} 205 final private function __clone(): void {} 376 final private function __clone(): void {} 441 final private function __clone(): void {} 478 final private function __clone(): void {} 557 final private function __clone(): void {} 582 final private function __clone(): void {} 625 final private function __clone(): void {} 654 private function __clone(): void {} 667 private function __clone(): void {}
|
/PHP-8.0/ext/enchant/ |
H A D | enchant.stub.php | 48 function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {} 54 function enchant_dict_add_to_personal(EnchantDictionary $dictionary, string $word): void {} 56 function enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void {} 66 …dict_store_replacement(EnchantDictionary $dictionary, string $misspelled, string $correct): void {}
|
/PHP-8.0/ext/libxml/ |
H A D | libxml.stub.php | 10 function libxml_set_streams_context($context): void {} 18 function libxml_clear_errors(): void {}
|
/PHP-8.0/Zend/tests/type_declarations/union_types/ |
H A D | void_with_class.phpt | 2 Combining void with class type 6 function test(): T|void {}
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | stream_get_transports.phpt | 2 array stream_get_transports ( void ); 7 print((is_array(stream_get_transports())) ? ("yes") : ("Test 'array stream_get_transports ( void );…
|
Completed in 36 milliseconds
1234567