doc:todo:undocumented

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:todo:undocumented [2008/11/30 22:19] kalledoc:todo:undocumented [2010/04/30 16:55] colder
Line 59: Line 59:
 ===== PHP 5.3 ===== ===== PHP 5.3 =====
   * SPL classes: ArrayObject, CachingIterator, RecursiveCachingIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator   * SPL classes: ArrayObject, CachingIterator, RecursiveCachingIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator
- 
-  * ''goto'' 
-<code php> 
-<?php  
- 
-goto a; 
-print 'Foo'; 
- 
-a: 
-print 'Bar'; 
- 
-?> 
-</code> 
- 
-  * ''?:'' operator 
-<code php> 
-<?php  
- 
-var_dump(0 ?: 'Hello!'); // string(6) "Hello!" 
- 
-?> 
-</code> 
- 
-  * ''namespace::'' (alternative for ''%%__NAMESPACE__%%'') 
-<code php> 
-<?php  
- 
-namespace foo::bar; 
- 
-const bar = 2; 
- 
-function foo() { 
-    return 'foo!';     
-} 
- 
-var_dump(namespace::bar, namespace::foo()); 
-/* 
-int(2) 
-string(4) "foo!" 
-*/ 
-?> 
-</code> 
- 
-  * Override existing classes 
-<code php> 
-<?php 
- 
-namespace test; 
- 
-class foo { } 
- 
-use test::foo as stdClass; 
- 
-var_dump(new stdClass); 
-/* 
-object(test::foo)#1 (0) { 
-} 
-*/ 
-?> 
-</code> 
  
   * ''new static;''   * ''new static;''
Line 184: Line 124:
   * ''Closures''   * ''Closures''
 ===== PHP 5.x ==== ===== PHP 5.x ====
 +  * SplObjectStorage::getHash
   * Type hints: ''self'', ''parent'' and interfaces.   * Type hints: ''self'', ''parent'' and interfaces.
 <code php> <code php>
Line 306: Line 246:
 ===== Add Reference ===== ===== Add Reference =====
  
-  * ''odbc_exec()'' - Missing information about ''$flags'' (//last parameter//). 
   * ''mb_ereg_search_init'' - Missing list of options. (//php-src/ext/mbstring/oniguruma/doc/API//)   * ''mb_ereg_search_init'' - Missing list of options. (//php-src/ext/mbstring/oniguruma/doc/API//)
  
Line 387: Line 326:
   * //function.session//: "if you try to name a php session "example.com" it gets converted to "example_com" and everything breaks." ([[http://www.php.net/manual/en/function.session-name.php#86000|note]])   * //function.session//: "if you try to name a php session "example.com" it gets converted to "example_com" and everything breaks." ([[http://www.php.net/manual/en/function.session-name.php#86000|note]])
  
 +===== Internals =====
 +
 +  * Opcodes: http://markmail.org/thread/gk6hul5mvoyuhgfw
 +  * Arginfo for reflection: http://tmp.cweiske.de/HackingPHP5.xml
doc/todo/undocumented.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1