doc:todo:undocumented
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:todo:undocumented [2008/11/01 08:26] – Constants can be defined using the 'const' keyword outside a class kalle | doc:todo:undocumented [2010/04/30 16:55] – colder | ||
---|---|---|---|
Line 59: | Line 59: | ||
===== PHP 5.3 ===== | ===== PHP 5.3 ===== | ||
* SPL classes: ArrayObject, | * SPL classes: ArrayObject, | ||
- | |||
- | * '' | ||
- | <code php> | ||
- | <? | ||
- | |||
- | goto a; | ||
- | print ' | ||
- | |||
- | a: | ||
- | print ' | ||
- | |||
- | ?> | ||
- | </ | ||
- | |||
- | * ''?:'' | ||
- | <code php> | ||
- | <? | ||
- | |||
- | var_dump(0 ?: ' | ||
- | |||
- | ?> | ||
- | </ | ||
- | |||
- | * '' | ||
- | <code php> | ||
- | <? | ||
- | |||
- | namespace foo::bar; | ||
- | |||
- | const bar = 2; | ||
- | |||
- | function foo() { | ||
- | return ' | ||
- | } | ||
- | |||
- | var_dump(namespace:: | ||
- | /* | ||
- | int(2) | ||
- | string(4) " | ||
- | */ | ||
- | ?> | ||
- | </ | ||
- | |||
- | * Override existing classes | ||
- | <code php> | ||
- | <?php | ||
- | |||
- | namespace test; | ||
- | |||
- | class foo { } | ||
- | |||
- | use test::foo as stdClass; | ||
- | |||
- | var_dump(new stdClass); | ||
- | /* | ||
- | object(test:: | ||
- | } | ||
- | */ | ||
- | ?> | ||
- | </ | ||
* '' | * '' | ||
Line 179: | Line 119: | ||
* [HOST=] and [PATH=] configuration sections in php.ini | * [HOST=] and [PATH=] configuration sections in php.ini | ||
- | |||
- | * '' | ||
* zend_parse_parameters types: C, f, Z, h | * zend_parse_parameters types: C, f, Z, h | ||
* '' | * '' | ||
- | |||
- | * Constants can be defined using the '' | ||
- | <code php> | ||
- | <?php | ||
- | const MY_CONSTANT = 'My value'; | ||
- | |||
- | echo MY_CONSTANT; | ||
- | ?> | ||
- | </ | ||
- | |||
===== PHP 5.x ==== | ===== PHP 5.x ==== | ||
+ | * SplObjectStorage:: | ||
* Type hints: '' | * Type hints: '' | ||
<code php> | <code php> | ||
Line 318: | Line 246: | ||
===== Add Reference ===== | ===== Add Reference ===== | ||
- | * '' | ||
* '' | * '' | ||
Line 399: | Line 326: | ||
* // | * // | ||
+ | ===== Internals ===== | ||
+ | |||
+ | * Opcodes: http:// | ||
+ | * Arginfo for reflection: http:// |
doc/todo/undocumented.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1