16 Jul 2019

feedPlanet PHP

502 Bad Gateway

16 Jul 2019 3:00pm GMT

Interview with Sara Golemon

@SaraMG Show Notes PHP RFC 7.4 RFCs PHP RFC: Arrow Functions 2.0 PHP RFC: Typed Properties 2.0 PHP RFC: Preloading PHP RFC: FFI - Foreign Function Interface FFIMe A compiler for PHP PHP RFC: Weak References PHP RFC: Allow throwing exceptions from __toString() PHP RFC: Covariant Returns and Contravariant Parameters PHP RFC: Null Coalescing Assignment […]

The post Interview with Sara Golemon appeared first on Voices of the ElePHPant.

16 Jul 2019 11:30am GMT

14 Jul 2019

feedPlanet PHP

On "10x developers"

On "10x developers"

Yesterday, a VC posted a Twitter thread about "10x engineers and how to spot them.'' It is a frankly terrible thread, and predictably, it became the latest Internet Pile On(tm), which we all know is Twitter's favorite pastime. I added my own thoughts in another thread, which I want to replicate here for posterity and then expand on a bit more now that I have a real keyboard and not just my phone.

First, here's my original thread, lightly edited for clarity, paragraphs, and links:

Continue reading this post on SteemIt.

Larry 14 July 2019 - 11:58am

14 Jul 2019 4:58pm GMT

11 Jul 2019

feedPlanet PHP

PHP Internals News: Episode 18: Strict Operator Directive

PHP Internals News: Episode 18: Strict Operator Directive

London, UK
Thursday, July 11th 2019, 09:18 BST

In this seventeenth episode of "PHP Internals News" I talk with Arnold Daniels (Twitter, Website, GitHub) about his Strict Operator Directive RFC.

The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes. There is a dedicated website: https://phpinternals.news

Show Notes

Credits

Music: Chipper Doodle v2 - Kevin MacLeod (incompetech.com) - Creative Commons: By Attribution 3.0

Become a Patron!

11 Jul 2019 8:18am GMT

PHP 7.4.0 alpha 3 Released

PHP team is glad to announce the release of the third PHP 7.4.0 version, PHP 7.4.0 Alpha 3. This continues the PHP 7.4 release cycle, the rough outline of which is specified in the PHP Wiki. For source downloads of PHP 7.4.0 Alpha 3 please visit the download page. Please carefully test this version and report any issues found in the bug reporting system. Please DO NOT use this version in production, it is an early test version. For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive. The next release would be Beta 1, planned for July 25th. The signatures for the release can be found in the manifest or on the QA site. Thank you for helping us make PHP better.

11 Jul 2019 12:00am GMT

09 Jul 2019

feedPlanet PHP

501 Not Implemented

09 Jul 2019 3:00pm GMT

Interview with Adam Kelso

@AKWebDev Show Notes Guzzler Homepage Guzzler on Github Audio This episode is sponsored by Uncle Cal's Career Advice for Developers

The post Interview with Adam Kelso appeared first on Voices of the ElePHPant.

09 Jul 2019 11:30am GMT

Xdebug Update: June 2019

Xdebug Update: June 2019

London, UK
Tuesday, July 9th 2019, 09:34 BST

This is another of the monthly update reports in which I explain what happened with Xdebug development in this past month. It will be published on the first Tuesday after the 5th of each month. Patreon supporters will get it earlier, on the first of each month. You can become a patron here to support my work on Xdebug. More supporters, means that I can dedicate more of my time to improving Xdebug.

In June, I worked on Xdebug for 20 hours, a little bit less than normal as I spend some time on holidays and conferences. I worked on the following things:

2.8.0alpha1 Release

I made the 2.8.0alpha1 release just when the month was running out.

This alpha release adds preliminary support for PHP 7.4, but also addresses some other issues. It also includes a major overhaul on how I do SKIPIF sections in the phpt tests that I used to test Xdebug.

Instead of having complicated sections such as:

<?php if (!version_compare(phpversion(), "7.0.12", '>')) echo "skip > PHP 7.0.12, < PHP 7.1 needed\n"; ?>
<?php if (!version_compare(phpversion(), "7.1", '<')) echo "skip > PHP 7.0.12, < PHP 7.1 needed\n"; ?>
<?php if (!extension_loaded('zend opcache')) echo "skip opcache required\n"; ?>

I now have:

check_reqs('PHP > 7.0.12,< 7.1; opcache');

This makes it a lot easier to maintain Xdebug's tests among multiple PHP versions. After all, I still support PHP versions since PHP 7.0-although I am considering dropping support for PHP 7.0 and only support PHP 7.1 and up.

This release also features the Resolving Breakpoints feature, which the folks at Jetbrains have sponsored. After their last review, I made a few modifications to run the resolver for newly set breakpoints as well. I am intending to create a separate blog post on what this new feature solves.

I also found an already existing bug with return breakpoints, where a return breakpoint would not cause a break immediately. A fix for this is also in the alpha1 release.

32-bit Support

I am considering to stop creating Windows binaries for 32-bit installations of PHP. It duplicates the amount of time that it takes to create Windows binaries, slowing down, testing on CI, and the creation of releases as it takes ~2 hours to build them all on AppVeyor.

The reasoning behind this is that very few people still use 32-bit Windows installations, and I am not sure it's still worth spending time on it. I ran a little Twitter poll about this.

Although even if I would drop 32-bit binary creations, users that still need these binaries can get them on the PECL website. PECL builds extensions for all the supported PHP versions, such as here for Xdebug 2.8.0alpha1

Podcast

I have been continuing with the PHP Internals News podcast. In this weekly podcast, I discuss in 15-30 minutes, proposed new features to the PHP language with fellow PHP internals developers. It is available on Spotify and iTunes, and through an RSS Feed. Let me know if you are a listener!

Become a Patron!

09 Jul 2019 8:34am GMT

Interview with Adam Harvey

09 Jul 2019 6:03am GMT

08 Jul 2019

feedPlanet PHP

Interview with Adam Harvey

08 Jul 2019 4:01pm GMT