php/php-src
View on GitHub ↗ ★ 41,753 C
The PHP Interpreter
124 mentions on Hacker News by 101 people: 28 stories, 96 comments · first 2009-07-24 · latest 2026-10-29
20082026
-
▲ 2
OPCache: Direct execution opcode file without PHP source code filestory by ZnZirconium · 2020-12-07 · 0 comments
-
C++ with lots of extern "C" , I imagine. Two examples: https://github.com/Perl/perl5/search?q=extern https://github.com/php/php-src/search?q=extern
comment by tyingq · 2020-11-17 · in Best aspects of C -
…quite out of date as PHP has switched to a tracing JIT which appears to be heavily based on LuaJIT. https://github.com/php/php-src/pull/5874 https://github.com/php/php-src/commit/4bf2d09edeb14467ba7955...
comment by jashmatthews · 2020-08-30 · in Deep Dive into PHP 8's JIT -
…for an upgrade to not break something. There are dozens of breaking changes in this release alone: https://github.com/php/php-src/blob/96c7d42a3ca9d822a08b3dd4... Some of the changes are sadistic. "The precedence of the concatenation…
comment by john-shaffer · 2020-08-14 · in What's new in PHP 8? -
PHP 8 has plenty of breaking changes ( https://github.com/php/php-src/blob/08e6c209550a268500bbdef4... ), mostly in the department of throwing errors more aggressively, and fixing some long-standing "features" (like 0 == "foobar" being…
comment by nikic · 2020-07-27 · in Named arguments are coming in PHP 8 -
…A patch to disable the use of huge pages in memory allocator fixed a 10% performance regression: https://github.com/php/php-src/commit/928c42211f737640e4dc3c... The patch to enable the Zend Optimizer on ARM64 accounts for about 5% of…
comment by rob-olmos · 2020-07-17 · in Improving Performance of PHP for Arm64 and Impact on Amazon EC2 M6g Instances -
Yes, they are using DynASM. https://github.com/php/php-src/blob/master/ext/opcache/jit/R...
comment by tyingq · 2020-07-17 · in Improving Performance of PHP for Arm64 and Impact on Amazon EC2 M6g Instances -
▲ 2
PHP – Replace all whitelist/blacklist with allowlist/blockliststory by gitgud · 2020-06-15 · 3 comments
-
There's pressure to change blacklist and whitelist to blocklist and allow list too... https://github.com/php/php-src/pull/5685
comment by gitgud · 2020-06-15 · in Show HN: Script that changes GitHub default branches to master -
There was an RFC for that, but it was voted out: https://github.com/php/php-src/pull/2049
comment by SergeAx · 2020-06-10 · in 25 Years of PHP -
…with new technologies. [1] https://symfony.com/blog/symfony-was-the-backend-framework-w... [2] https://github.com/php/php-src/pulse [3] https://trends.builtwith.com/framework/Laravel
comment by s1k3s · 2020-05-05 · in A look at modern PHP -
…look like this [0] (imagine it all implemented in assembly, without C's types, if you prefer). [0]: https://github.com/php/php-src/blob/3709e74b5e495e210ada8039...
comment by jbboehr · 2020-04-08 · in How porting to TypeScript solved our API woes -
…1 in case the header is present so strstr isn't being called an extra time in the current code. [1] https://github.com/php/php-src/commit/3d9c02364db62a6d8e2794...
comment by miguelxpn · 2020-03-02 · in I found and fixed a bug in PHP's standard library -
I was thinking the same so I checked and they removed the duplication: https://github.com/php/php-src/commit/3d9c02364db62a6d8e2794... They also fixed the whitespace handling that let something like "RandomHeader: hello host:8080"…
comment by kichik · 2020-03-02 · in I found and fixed a bug in PHP's standard library -
…that they did not understand nor had a rationale for, so those behaviors were removed as well: https://github.com/php/php-src/pull/5201
comment by glofish · 2020-03-01 · in I found and fixed a bug in PHP's standard library -
▲ 2
PHP 7.4.0 Releasedstory by velmu · 2019-11-27 · 0 comments
-
…C API. Check out [2] for a deeper understanding of how arrays are handled internally in PHP. [1]: https://github.com/php/php-src/blob/php-7.3.11/Zend/zend_typ... [2]: https://nikic.github.io/2014/12/22/PHPs-new-hashtable-implem...
comment by capn_cabbage · 2019-11-10 · in Union Types have been accepted for PHP 8 -
The commit that fixes it: https://github.com/php/php-src/commit/ab061f95ca966731b1c84c...
comment by orf · 2019-10-27 · in PHP-FPM remote code execution bug exploited in the wild -
re2c is used by PHP: https://externals.io/message/102796 https://github.com/php/php-src/blob/master/Zend/zend_languag...
comment by openbasic · 2019-03-01 · in Re2c: A free and open-source lexer generator for C and C++ -
▲ 5
Features to be deprecated in PHP 8story by velmu · 2019-01-30 · 0 comments
-
…behaviours - PHP with its plugin architecture, and CGI where all web requests go through FPs : https://github.com/php/php-src/blob/master/main/fastcgi.c#L8... .
comment by jcelerier · 2018-11-19 · in Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower -
▲ 2
PHP – Deprecate implicit nullable parametersstory by BafS · 2018-09-19 · 1 comment
-
https://github.com/php/php-src/blob/php-7.3.0alpha1/NEWS
comment by kh3dr0n · 2018-06-08 · in PHP 7.3.0 alpha 1 Released -
Check out https://github.com/php/php-src/blob/php-7.3.0alpha1/NEWS
comment by muglug · 2018-06-08 · in PHP 7.3.0 alpha 1 Released -
…language with a decent YACC. There's already a yacc file for PHP's parser, part of the PHP runtime: https://github.com/php/php-src/blob/master/Zend/zend_languag...
comment by johannes1234321 · 2018-03-02 · in Php-parser written in golang v0.3 is released -
PHP pcre is implemented in c https://github.com/php/php-src/blob/master/ext/pcre/php_pcre...
comment by barkingcat · 2017-02-08 · in Regex: badly needs fuzzing -
Well, I finally wrote a patch for that: https://github.com/php/php-src/pull/2160
comment by TazeTSchnitzel · 2016-10-13 · in Why Unicode Won’t Work on the Internet (2001) -
Article: http://www.viva64.com/en/b/0392/ PHP Source: https://github.com/php/php-src
comment by PVS-Studio · 2016-04-28 · in PVS-Studio Team: Analysis of PHP7 -
…up in development was this php7-fpm bug[1]. [0]: https://github.com/dshafik/php7-mysql-shim [1]: https://github.com/php/php-src/pull/1720
comment by Judson · 2016-03-14 · in How Badoo Saved $1M Switching to PHP7 -
▲ 3
Commit to revert to mistaken implementation of mt_rand()story by mt_caret · 2016-02-19 · 0 comments
-
…CN=mail.cweiske.de for pear.php.net. I don't even know what to say.. Well, happy hacking! [1]: https://github.com/php/php-src [2]: https://travis-ci.org/php/php-src [3]: https://travis-ci.org/php/php-src/jobs/94372493
comment by motiejus · 2015-12-02 · in PHP 7 Released -
…return null and you can't use it (which I'm okay with) https://wiki.php.net/rfc/nullable_types https://github.com/php/php-src/pull/1045 With this, it will permit to have even better static analysis "a la" HHVM/hack (i.e detecting that you…
comment by allan_s · 2015-12-02 · in PHP 7 Released -
▲ 449
PHP 7 Releasedstory by legierski · 2015-12-02 · 307 comments
-
▲ 14
Php-7 releasedstory by mustafauysal · 2015-12-01 · 0 comments
-
▲ 1
PHP 7.0.0 RC1 taggedstory by dumindunuwan · 2015-08-19 · 0 comments
-
…comment below. The arguments against Exceptions began in the comments on the relevant pull request: https://github.com/php/php-src/pull/1397
comment by sarciszewski · 2015-07-24 · in A call to PHP's mt_rand generates only odd numbers -
For nullable types, there's a plan/rfc to have them too https://github.com/php/php-src/pull/1045 https://wiki.php.net/rfc/nullable_types not for 7.0 but hopefully for 7.1
comment by allan_s · 2015-04-27 · in Comparing the PHP 7 and Hack Type Systems -
…for an opcode. [1] - http://www2.sys-con.com/itsg/virtualcd/dotnet/archives/0103/... [2] - https://github.com/php/php-src/blob/master/Zend/zend_vm_gen....
comment by gopalv · 2015-02-28 · in Zend PHP JIT open sourced -
…takes years), there should be no development targeting version that was EOLed 4 years ago. [1] https://github.com/php/php-src/blob/PHP-5.5/UPGRADING [2] https://github.com/php/php-src/blob/PHP-5.6/UPGRADING
comment by smsm42 · 2014-12-30 · in PHP Install Statistics -
…should use urandom. If no where else, when the program is first executed. And if you're on Windows: https://github.com/php/php-src/blob/e6ea376a91514c59d21f4b53...
comment by sarciszewski · 2014-12-09 · in Random in the wild -
…has committed multiple patches/improvements[1] to php-src as recent as PHP 5.6 Great explanation! https://github.com/php/php-src/commits?author=igorw
comment by martin_ · 2014-09-23 · in PHP: why GOTO instead of recursion? -
…naming because the version file inside phpng says 5.7.0 - but that might just be a placeholder: https://github.com/php/php-src/blob/phpng/main/php_version.h #define PHP_VERSION "5.7.0-dev"
comment by ck2 · 2014-07-15 · in PHP 5.7 now nearly twice as fast as PHP 5.6 -
…the space of URLs it can parse, but it's not difficult to cover all valid cases if you need to [2] https://github.com/php/php-src/commit/36b88d77f2a9d0ac74692a...
comment by TazeTSchnitzel · 2014-06-22 · in In search of the perfect URL validation regex -
…your own litmus test. The PHPT runner that ships with PHP is actually thousands of lines long: https://github.com/php/php-src/blob/7b7d2952a606fba6a5e21998... Keep in mind that PHPT files have to be parsed in userland. The runner has to…
comment by cool_story_bro · 2014-03-19 · in PHPUnit 4.0 Released -
…tests in the original implementation [1][2]. I do not see anything on http://ph7.symisc.net/ . 1 - https://github.com/php/php-src/tree/master/tests 2 - https://github.com/php/php-src/tree/master/Zend/tests
comment by kodablah · 2014-02-19 · in PH7 – An Embedded Implementation of PHP (C Library) -
There are people trying to take care of some of that already. https://github.com/php/php-src/pull/301 was at some point hoping to get into 5.6 but I don't know what happened to it since then.
comment by nubs · 2014-02-17 · in List of possible changes, updates, additions for PHP 6 -
…[1] https://bugs.php.net/bug.php?id=54547 [2] https://bugs.php.net/bug.php?id=62097 [3] https://github.com/php/php-src/blob/PHP-5.3/Zend/zend_operat... [4] https://github.com/php/php-src/blob/5.4/Zend/zend_operators.... [5]…
comment by DCoder · 2013-12-25 · in High Quality PHP -
…standard implementation. Compare https://github.com/GoogleCloudPlatform/appengine-php/tree/ma... to https://github.com/php/php-src
comment by kodablah · 2013-12-17 · in The future of PHP, at a distance -
…apply to C code. Also, php-src has had coding standards that really haven't changed for years: https://github.com/php/php-src/blob/master/CODING_STANDARDS
comment by lonnyk · 2013-06-20 · in PHP 5.5 released and other things PHP related -
Changelog here: https://github.com/php/php-src/blob/php-5.5.0/NEWS Highlights: * Opcode cache ( https://wiki.php.net/rfc/optimizerplus ) * Generators and coroutines ( https://wiki.php.net/rfc/generators ) * "finally" keyword * Constant…
comment by iso8859-1 · 2013-06-20 · in PHP 5.5 released and other things PHP related