Php core. get rid of bugs and contribute
-
Upload
pierre-joye -
Category
Technology
-
view
3.732 -
download
0
description
Transcript of Php core. get rid of bugs and contribute
![Page 1: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/1.jpg)
PHP CoreGet rid of bugs and contribute!
DrupalCon Munich 2012/08/22Pierre Joye
![Page 2: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/2.jpg)
Pierre Joye@[email protected]
PHP Core developerContributors to numerous OSS projects
Works with the old Dark ForcePortability fan
![Page 3: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/3.jpg)
Some Stats
• PHP versions?
• Windows?
• Linux?
• Azure? Amazon?
• Vagrant?
![Page 4: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/4.jpg)
• Slow release
• Unsecure
• Hard or impossible to contribute
• Dicatorship, egomaniacs, nein sager
• Not open
![Page 5: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/5.jpg)
RFC process• Anyone can write one
• Votes (community and php.net members)
• Once accepted, short delay to get in a release
• Php.net members votes
• Communities votes
https://wiki.php.net/rfc/voting
![Page 6: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/6.jpg)
Release Process• Security only releases
• Bugs fixes releases every two months (~)
• Yearly releases with new features (i.e. 5.4)
https://wiki.php.net/rfc/releaseprocess
![Page 7: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/7.jpg)
![Page 8: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/8.jpg)
Xinchen Hui
Very Old guy }:->
Gustavo Andre dos Santos Lopes
Not (So) Old guy
Anatoliy Belsky
126
83
79
73
62
1
2
3
4
5
2012/01 to 2012/04
![Page 9: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/9.jpg)
No more excuses!
contribute!( h tt p : / / b u g s . p h p . n e t / r a n d o m )
![Page 11: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/11.jpg)
![Page 12: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/12.jpg)
![Page 13: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/13.jpg)
![Page 15: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/15.jpg)
![Page 16: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/16.jpg)
![Page 17: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/17.jpg)
What’s about
core?
![Page 18: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/18.jpg)
Simplified request handling
![Page 19: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/19.jpg)
And with APC
![Page 20: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/20.jpg)
![Page 21: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/21.jpg)
![Page 22: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/22.jpg)
cCore
Zend main
ext/standardext/dateext/splext/pcreext/eregext/reflection
TSRM
SAPI
Win32netware
Core
cext/zipext/intlext/…
Bundled extensions
cmemcacheapcigbinary
Pecl/github/… exts
![Page 23: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/23.jpg)
![Page 24: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/24.jpg)
Memory leaks
![Page 25: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/25.jpg)
ValgrindUSE_ZEND_ALLOC=0 valgrind --tool=memcheck -–leak-check=full php substr.php
![Page 26: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/26.jpg)
![Page 27: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/27.jpg)
MemoryValidator
![Page 28: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/28.jpg)
![Page 29: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/29.jpg)
Segfaults
![Page 30: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/30.jpg)
gdb
![Page 31: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/31.jpg)
![Page 32: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/32.jpg)
Windows
![Page 33: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/33.jpg)
![Page 34: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/34.jpg)
Resources 1/2• https://wiki.php.net/vcs/gitworkflow
• https://wiki.php.net/doc
• https://wiki.php.net/internals/zend_mm
• https://wiki.php.net/internals/windows
• http://lxr.php.net
![Page 35: Php core. get rid of bugs and contribute](https://reader033.fdocuments.us/reader033/viewer/2022061212/5495bcd5b479597e6a8b60a7/html5/thumbnails/35.jpg)
Resources 2/2• https://github.com/php/
• http://bugs.php.net/random
• https://wiki.php.net/
• http://edit.php.net