Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Contributing to PHP's Core

Contributing to PHP's Core

Ever wanted to contribute to PHP's Core? This is your time! From tests to a new function, PHP is open for new contributors. Fixing bugs, document things, cleanups, refactorings, or even new small functions. In this talk, we're gonna see how the is_countable function was made, and what we can learn from that.

Gabriel Caruso

November 09, 2019
Tweet

More Decks by Gabriel Caruso

Other Decks in Technology

Transcript

  1. Who am I? • Backend Developer at Usabilla by Survey

    Monkey • Communities member • OSS contributor • Talks/Stickers/ELEPHANTS lover
  2. We at Doctrine have a repository called coding-standard where we

    define our style rules - Style - Code smell - Defense programming - Best practices
  3. Ok, questions: - How do I even find the code

    that "runs" PHP? - Can I contribute to it? - What do I need to know (technologies) to understand it? - How does it work? - Will they accept this change? - Ok, enough
  4. Yes PHP's Source Code is open source "Open source software

    is a software with source code that anyone can inspect, modify, and enhance."
  5. RFC Request For Comments, a.k.a, discuss the feature until everyone

    has no more questions about the implementation - Formal document - Voting
  6. Right, now I knew what I need to do: -

    Open a pull request to php/php-src on GitHub - Write and open for voting a RFC
  7. Writing tests for PHP source In this course, he teaches

    how you can compile the PHP Source and also how to write tests to PHP
  8. How to add new (syntactic) features to PHP In that

    article, Nikita teaches how the Parser, Lexer and Zend Virtual Machine (VM) work
  9. PHP Internals Book That book explains a lot of parts

    of the Internals. Introduce the picture of a book here
  10. Andreas Heigl He is leading a team to migrate the

    PHP Documentation from SVN to Git and mirror that on GitHub
  11. Derick Rethans Author of Xdebug, he has the knowledge to

    help anyone create an extension for PHP