Php core. get rid of bugs and contribute

35
PHP Core Get rid of bugs and contribute! DrupalCon Munich 2012/08/22 Pierre Joye

description

Short intro and howtos about how to contribute to PHP, docs, fixing small, bugs etc.

Transcript of Php core. get rid of bugs and contribute

Page 1: Php core. get rid of bugs and contribute

PHP CoreGet rid of bugs and contribute!

DrupalCon Munich 2012/08/22Pierre Joye

Page 2: Php core. get rid of bugs and contribute

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

Some Stats

• PHP versions?

• Windows?

• Linux?

• Azure? Amazon?

• Vagrant?

Page 4: Php core. get rid of bugs and contribute

• Slow release

• Unsecure

• Hard or impossible to contribute

• Dicatorship, egomaniacs, nein sager

• Not open

Page 5: Php core. get rid of bugs and contribute

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

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
Page 8: Php core. get rid of bugs and contribute

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

No more excuses!

contribute!( h tt p : / / b u g s . p h p . n e t / r a n d o m )

Page 10: Php core. get rid of bugs and contribute

Documentation

https://edit.php.net/

Page 11: Php core. get rid of bugs and contribute
Page 12: Php core. get rid of bugs and contribute
Page 13: Php core. get rid of bugs and contribute
Page 14: Php core. get rid of bugs and contribute

David Soria Parrahttp://pear.php.net/user/dsp/wishlist

@dsp_

Page 15: Php core. get rid of bugs and contribute
Page 16: Php core. get rid of bugs and contribute
Page 17: Php core. get rid of bugs and contribute

What’s about

core?

Page 18: Php core. get rid of bugs and contribute

Simplified request handling

Page 19: Php core. get rid of bugs and contribute

And with APC

Page 20: Php core. get rid of bugs and contribute
Page 21: Php core. get rid of bugs and contribute
Page 22: Php core. get rid of bugs and contribute

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
Page 24: Php core. get rid of bugs and contribute

Memory leaks

Page 25: Php core. get rid of bugs and contribute

ValgrindUSE_ZEND_ALLOC=0 valgrind --tool=memcheck -–leak-check=full php substr.php

Page 26: Php core. get rid of bugs and contribute
Page 27: Php core. get rid of bugs and contribute

MemoryValidator

Page 28: Php core. get rid of bugs and contribute
Page 29: Php core. get rid of bugs and contribute

Segfaults

Page 30: Php core. get rid of bugs and contribute

gdb

Page 31: Php core. get rid of bugs and contribute
Page 32: Php core. get rid of bugs and contribute

Windows

Page 33: Php core. get rid of bugs and contribute
Page 34: Php core. get rid of bugs and contribute

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

Resources 2/2• https://github.com/php/

• http://bugs.php.net/random

• https://wiki.php.net/

• http://edit.php.net