rfc:size_t_and_int64_next

Differences

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

Link to this comparison view

rfc:size_t_and_int64_next [2014/02/13 19:14]
ab
rfc:size_t_and_int64_next [2014/04/05 10:45] (current)
ab
Line 85: Line 85:
 | abs, llabs, _abs64 | ZEND_ABS |for use with //​zend_int_t//​ | | abs, llabs, _abs64 | ZEND_ABS |for use with //​zend_int_t//​ |
 | - | ZEND_INT_MAX | Aliased with PHP_INT_MAX in php.h, replaces LONG_MAX where appropriate | | - | ZEND_INT_MAX | Aliased with PHP_INT_MAX in php.h, replaces LONG_MAX where appropriate |
-| - | ZEND_INT_MIN | Aliased with PHP_INT_IN ​in php.h, replaces LONG_MIN where appropriate |+| - | ZEND_INT_MIN | Aliased with PHP_INT_MIN ​in php.h, replaces LONG_MIN where appropriate |
 | - | ZEND_UINT_MAX | ULONG_MAX | | - | ZEND_UINT_MAX | ULONG_MAX |
 | - | SIZEOF_ZEND_INT | Replaces SIZEOF_ZEND_LONG where appropriate |  | - | SIZEOF_ZEND_INT | Replaces SIZEOF_ZEND_LONG where appropriate | 
Line 119: Line 119:
 \\ \\
  
-=== clang PHP checker ===+=== Clang PHP checker ===
  
-Johannes Schlüter ​wrote a [[https://​github.com/​johannes/​clang-php-checker | clang plugin]] allowing static analyze of the zpp calls. Steps was undertaken to make it available on windows as well - [[https://​github.com/​weltling/​clang-php-checker/​tree/​win32_and_more | repo]] and [[http://​windows.php.net/​downloads/​snaps/​ostc/​clang_checkerbinaries]]. While being already useful for zpp check, that plugin can potentially do more on non standard checks in PHP internals.+Johannes Schlüter ​did a great work on developing ​a [[https://​github.com/​johannes/​clang-php-checker | clang plugin]] allowing static analyze of the zpp calls. Steps was undertaken to make it [[http://​windows.php.net/​downloads/​snaps/​ostc/​clang_checker | available on windows]] as well.
  
 \\ \\
Line 151: Line 151:
 ===== Proposed PHP Version ===== ===== Proposed PHP Version =====
  
--+next major
  
  
Line 170: Line 170:
 It has to do with squeezing anything possible from the 64 bit platforms, for maximal PHP benefit. No real features are going to be changed, removed or added to the PHP language. It has to do with squeezing anything possible from the 64 bit platforms, for maximal PHP benefit. No real features are going to be changed, removed or added to the PHP language.
  
-===== Some performance comparsion =====+/*===== Some performance comparsion =====
  
  
Line 187: Line 187:
 \\ \\
 <​nowiki>​*,​ **</​nowiki>​ Some issues with the x64 versions of 5.5.8 and str_size_and_int64 when testing with opcache enabled. However issues of this kind are well known on windows (for instance [[https://​bugs.php.net/​bug.php?​id=64926 | #64926]]) and are due to some unluckily choosen memory address. So the cause persists in the mainstream and is not because of this patch. <​nowiki>​*,​ **</​nowiki>​ Some issues with the x64 versions of 5.5.8 and str_size_and_int64 when testing with opcache enabled. However issues of this kind are well known on windows (for instance [[https://​bugs.php.net/​bug.php?​id=64926 | #64926]]) and are due to some unluckily choosen memory address. So the cause persists in the mainstream and is not because of this patch.
-\\+\\*/
  
 ===== Migration path for PECL extensions ===== ===== Migration path for PECL extensions =====
Line 288: Line 288:
 ===== Patches and Tests ===== ===== Patches and Tests =====
  
-[[http://​git.php.net/?​p=php-src.git;​a=shortlog;​h=refs/​heads/​str_size_and_int64 | Feature branch]]\\ ​+[[http://​git.php.net/?​p=php-src.git;​a=shortlog;​h=refs/​heads/​str_size_and_int64 | Feature branch]]\\ 
 +[[http://​git.php.net/?​p=php-src.git;​a=shortlog;​h=refs/​heads/​str_size_and_int64_56_backport | Backport branch of PHP 5.6]] (for comparisons only)\\
 [[http://​windows.php.net/​downloads/​snaps/​str_size_and_int64/​ | Windows builds]]\\ [[http://​windows.php.net/​downloads/​snaps/​str_size_and_int64/​ | Windows builds]]\\
 [[http://​131.107.220.66/​PFTT-Results/​STR_SIZE_AND_INT64/​ | Test reports]]\\ [[http://​131.107.220.66/​PFTT-Results/​STR_SIZE_AND_INT64/​ | Test reports]]\\
rfc/size_t_and_int64_next.txt · Last modified: 2014/04/05 10:45 by ab