Home
last modified time | relevance | path

Searched refs:void (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/php-src/build/
H A Dax_gcc_func_attribute.m489 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-src/ext/spl/
H A Dspl_observer.stub.php8 public function update(SplSubject $subject): void;
14 public function attach(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 {}
67 public function seek(int $offset): void {}
101 public function offsetUnset($object): void {}
148 public function rewind(): void {}
[all …]
H A Dspl_iterators.stub.php11 public function next(): void {}
20 public function rewind(): void {}
68 public function rewind(): void {}
80 public function next(): void {}
145 public function next(): void {}
159 public function next(): void {}
201 public function next(): void {}
234 public function next(): void {}
306 public function next(): void {}
326 public function next(): void {}
[all …]
H A Dspl_dllist.stub.php17 public function add(int $index, mixed $value): void {}
26 public function push(mixed $value): void {}
29 public function unshift(mixed $value): void {}
68 public function offsetSet($index, mixed $value): void {}
74 public function offsetUnset($index): void {}
77 public function rewind(): void {}
86 public function prev(): void {}
89 public function next(): void {}
95 public function unserialize(string $data): void {}
104 public function __unserialize(array $data): void {}
[all …]
H A Dspl_array.stub.php24 public function offsetUnset(mixed $key): void {}
27 public function append(mixed $value): void {}
39 public function setFlags(int $flags): void {}
60 public function unserialize(string $data): void {}
69 public function __unserialize(array $data): void {}
118 public function offsetUnset(mixed $key): void {}
124 public function append(mixed $value): void {}
148 public function setFlags(int $flags): void {}
211 public function rewind(): void {}
220 public function next(): void {}
[all …]
H A Dspl_directory.stub.php101 final public function _bad_state_ex(): void {}
121 public function rewind(): void {}
139 public function next(): void {}
142 public function seek(int $offset): void {}
178 public function rewind(): void {}
190 public function setFlags(int $flags): void {}
235 public function rewind(): void {}
301 public function next(): void {}
304 public function setFlags(int $flags): void {}
310 public function setMaxLineLen(int $maxLength): void {}
[all …]
H A Dspl_fixedarray.stub.php11 public function __wakeup(): void {}
15 public function __unserialize(array $data): void {}
48 public function offsetSet($index, mixed $value): void {}
54 public function offsetUnset($index): void {}
/php-src/ext/zend_test/
H A Dtest.stub.php175 public function call(): void {}
176 public static function callStatic(): void {}
210 function zend_test_void_return(): void {}
218 function zend_test_deprecated_attr(): void {}
221 function zend_test_aliased(): void {}
342 public function method(): void {}
348 function namespaced_deprecated_func(): void {}
351 function namespaced_aliased_func(): void {}
366 public function method(): void {}
372 function namespaced_deprecated_func(): void {}
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg.stub.php27 function phpdbg_break_next(): void {}
29 function phpdbg_break_file(string $file, int $line): void {}
31 function phpdbg_break_method(string $class, string $method): void {}
33 function phpdbg_break_function(string $function): void {}
35 function phpdbg_color(int $element, string $color): void {}
37 function phpdbg_prompt(string $string): void {}
41 function phpdbg_clear(): void {}
43 function phpdbg_start_oplog(): void {}
/php-src/ext/ffi/tests/
H A D002.phpt25 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 Dbug_gh9090.phpt10 void (*bug_gh9090_void_none_ptr)();
11 void (*bug_gh9090_void_int_char_ptr)(int, char *);
12 void (*bug_gh9090_void_int_char_var_ptr)(int, char *, ...);
13 void (*bug_gh9090_void_char_int_ptr)(char *, int);
16 void bug_gh9090_void_none();
17 void bug_gh9090_void_int_char(int i, char *s);
18 void bug_gh9090_void_int_char_var(int i, char *fmt, ...);
/php-src/ext/phar/
H A Dphar_object.stub.php81 public function addEmptyDir(string $directory): void {}
96 public function compressFiles(int $compression): void {}
181 public function offsetSet($localName, $value): void {}
187 public function offsetUnset($localName): void {}
196 public function setMetadata(mixed $metadata): void {}
208 public function startBuffering(): void {}
211 public function stopBuffering(): void {}
449 public function offsetUnset($localName): void {}
485 public function startBuffering(): void {}
491 public function stopBuffering(): void {}
[all …]
/php-src/Zend/tests/
H A Dgh14480.phpt7 protected function splitPropertyParts(): void
15 abstract protected function splitPropertyParts(): void;
17 protected function addJoinsForNestedProperty(): void
32 public function apply(): void
37 abstract protected function filterProperty(): void;
43 protected function filterProperty(): void
51 public function applyToCollection(): void
/php-src/ext/dom/
H A Dphp_dom.stub.php298 public function remove(): void;
463 public function normalize(): void {}
479 public function __wakeup(): void {}
548 public function __wakeup(): void {}
669 public function remove(): void {}
829 public function remove(): void {}
1336 public function remove(): void;
1471 public function __wakeup(): void {}
1670 public function remove(): void {}
1783 public function remove(): void {}
[all …]
/php-src/Zend/
H A Dzend_interfaces.stub.php19 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 {}
H A Dzend_vm_execute.skl8 ZEND_API void {%EXECUTOR_NAME%}_ex(zend_execute_data *ex)
42 ZEND_API void zend_{%EXECUTOR_NAME%}(zend_op_array *op_array, zval *return_value)
45 void *object_or_called_scope;
76 void {%INITIALIZER_NAME%}(void)
84 void zend_vm_dtor(void)
94 static void init_opcode_serialiser(void)
109 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op)
118 op->handler = (const void *)(uintptr_t)Z_LVAL_P(zv);
121 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op)
144 ZEND_API const zend_op *zend_get_halt_op(void)
[all …]
/php-src/ext/random/
H A Drandom.stub.php21 function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}
24 function srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}
54 public function __unserialize(array $data): void {}
69 public function jump(int $advance): void {}
75 public function __unserialize(array $data): void {}
91 public function jump(): void {}
93 public function jumpLong(): void {}
99 public function __unserialize(array $data): void {}
156 public function __unserialize(array $data): void {}
/php-src/Zend/tests/return_types/
H A Dvoid_disallowed3.phpt2 void return type: unacceptable cases: explicit null return in a method
7 public function bar(): void {
8 return -1; // not permitted in a void function
14 Fatal error: A void method must not return a value in %s on line %d
H A Dvoid_disallowed2.phpt2 void return type: unacceptable cases: explicit return of some other value in a function
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 Dvoid_disallowed1.phpt2 void return type: unacceptable cases: explicit NULL return in a function
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 Dvoid_allowed.phpt2 void return type: acceptable cases
6 function foo(): void {
12 function bar(): void {
/php-src/Zend/tests/magic_methods/
H A Dmagic_methods_inheritance_rules.phpt10 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-src/Zend/tests/namespaces/
H A Dns_054.phpt8 function update(\SplSubject $x): void {
14 function attach(\SplObserver $x): void {
17 function notify(): void {
19 function detach(\SplObserver $x): void {
H A Dns_056.phpt9 function update(\SplSubject $x): void {
15 function attach(SplObserver $x): void {
18 function notify(): void {
20 function detach(SplObserver $x): void {
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_017.phpt2 Test typed properties disallow void
6 public void $int;
12 Fatal error: Property Foo::$int cannot have type void in %s on line 3

Completed in 50 milliseconds

12345678910>>...20