Skip to content

iFixit/php-src

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The iFixit PHP Interpreter

This is our custom fork of php with a small feature added (autoescaping for html)

Updating to a new version

  1. Fetch the origin
  2. Create a new branch at the git tag of the php release we want to use
  3. Cherry-pick the commit that adds our feature
    • Merging can be done too, but there are often far more conflicts
  4. Deal with conflicts (usually few)
  5. Ensure the copied (and slightly changed) functions in Zend/zend_compile.c and Zend/zend_vm_def.h are just like their copied from counterparts.
  6. git add the changes and continue the cherry-pick.
  7. run php Zend/zend_vm_gen.php and commit the resultant files
  8. Build php (using the build script in our infrastructure repo) on this branch.
  9. Try running some of the tests that have been added in our patch
  10. Open a pull here into the ifixit-production branch.

Packages

No packages published

Languages

  • C 64.6%
  • PHP 26.5%
  • C++ 7.5%
  • M4 0.4%
  • Shell 0.3%
  • Objective-C 0.3%
  • Other 0.4%