Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP 5.5.30 & 5.6.14 Released
Oct 02, 2015 @ 11:16:57

The PHP.net site has announced the release to two new versions of PHP in the 5.5.x and 5.6.x series: PHP 5.5.30 and PHP 5.6.14:

he PHP development team announces the immediate availability of [these versions]. This is a security release. Two security bugs were fixed in this release. All PHP [5.5 and 5.6] users are encouraged to upgrade to this version.

As always, you can grab these latest stable versions from the main downloads page or the windows.php.net site for the Windows binaries. If you're interested in the bugs fixed here, check out the full Changelog.

tagged: language release bugfix security update php55 php56

Link: http://php.net/archive/2015.php#id2015-10-01-3

October 2015 Issue Released - Integrating Extensions
Oct 01, 2015 @ 11:12:46

The php[architect] magazine has released their latest edition, their issue for October 2015 - "Integrating Extensions":

This issue shows you how to use Solr search directly from PHP and put it to good use, explains how PHAR files work to bundle PHP applications in a single file, and provides a case study in using libfann from PHP to create and train a neural network.

Also, you can read up on how to prepare for PHP 7, learn PHP type casting peculiarities, migrate from WordPress to Sculpin, a chat with Stefan Koopmanschap, and more.

This month's issue also includes a free article so you can get a sampling of the magazine: Casting Tales in PHP. You can pick up just this issue or grab a year long digital/print/combo subscription directly from the php[architect] website.

tagged: phparchitect magazine october2015 extensions issue release

Link: https://www.phparch.com/magazine/2015-2/october/

PHP 7.0.0 RC 4 Released
Oct 01, 2015 @ 10:45:36

The main php.net site has officially posted the latest release candidate version for the upcoming PHP 7 version: Release Candidate 4. It's now available for download and testing.

The PHP development team announces the immediate availability of PHP 7.0.0 RC 4. This is the ninth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system. [...] PHP 7.0.0 RC 4 contains fixes for 22 reported bugs and over 100 commits with various improvements.

As always, you can download this latest pre-release version for testing from the QA downloads page or windows.php.net/qa for the Windows binaries. If you're interested in the full list of changes, check out the NEWS file for updates.

tagged: language release releasecandidate php7rc4 php7 qa test

Link: http://php.net/archive/2015.php#id2015-10-01-1

Community News:
Latest PECL Releases (09.29.2015)
Sep 29, 2015 @ 08:05:01

Latest PECL Releases:

  • WinCache

    • PHP7 Support
    • x64 Support
    • Remove opcode cache support
    • Remove custom SRW locking
    • Remove unused settings
    • Enforce NTS-only build
    • Comment clean up
    • Minor bug fixes and tweaks
  • eio 1.2.6
    Fix: uid/gid validation in eio_fchown Fix: compilation issue on OS X 10.11
  • solr 2.2.1
    - Fix windows build
  • pthreads 3.0.7
    fix issue destroying monitors (deadlocking on shutdown) remove Thread::kill disable auto-join on __destruct of Thread use global persistent shared strings table support compiling and linking with AddressSanitizer support
  • solr 2.2.0
    - Support Real Time Get (Request #68647) - Support Result Grouping (Request #68793) - Support Field Collapsing (Request #70175) - Support Expand Component (Request #70176) - SolrMissingMandatoryParameterException (Request #70301) - Fix SegFault on Solr Server 500 Response with no msg [xml RW] (Bug #69156) - Fix SegFault on non-phpserialized 500 responses from Solr Server with PHPS RW (Bug #69156) - Fix Failed to parse 500 error response when it lacks msg JSON/PHPS RW (Bug #70495, #70496) - Fix compatibility tests with Solr Server 5 (Bug #70333) - Fix Error unserializing raw response on statistics response having NaN as value (Bug #67394)
  • v8js 0.2.6
    - Fix reference counting issue on PHP->JS->PHP exception propagation
  • pecl_http 2.5.3
    * Fixed gh-issue #12: crash on bad url passed to httpMessage::setRequestUrl() * The URL parser now fails on empty labels
  • gRPC 0.6.0
    - support per message compression disable - expose per-call host override option - expose connectivity API - expose channel target and call peer - add user-agent - update to wrap gRPC C core library beta version 0.11.0
  • v8js 0.2.5
    - Stop JS execution on PHP exceptions (instead of continuing silently) - Allow propagation of PHP exceptions to JS context (disabled by default) - Add v8js.compat_php_exceptions php.ini switch to switch previous behaviour back on
  • SeasLog 1.4.4
    - Fixed issue #50 Fix error and exception hook dead loop. - Fixed support windows with new version. - Fixed trace_error default enable and trace_exception default disable.
tagged: pecl release

Link: http://pecl.php.net

Matt Stauffer:
Introducing Laravel Spark: A Deep Dive
Sep 17, 2015 @ 10:54:01

In a previous post to the Laravel News site, the latest offering in the Laravel ecosystem, Spark, was introduced. In this post Matt Stauffer takes a "deep dive" into its features and functionality, digging down into the code to see what makes it tick.

If you've been around on the general Laravel-interested Internet over the last month or two, or if you attended Laracon US or Laracon EU, you've probably already heard of Laravel Spark. If you haven't, check out Taylor's introductory video from Laracon EU.

I've held off on writing about it until now, because it has changed a lot over the span of its development. It's released as an Alpha now, so the API has solidified some... but it'll still change quite a bit between now and the release. [...] This is, instead, a deep-dive into how it works and what it does. I'll be writing a more general introduction to Spark once it's actually released, so beware: this is a bit of a deeper dive, for people geeky enough to want to look at an alpha release.

He starts with a recap and a high-level overview of the system, what it's designed to do and how to get it installed (either in a fresh install or an existing application). He then starts breaking down the pieces that make up the system:

  • changes made to files in your current application
  • details on the contents of the SparkServiceProvider
  • the addition of an app.js defining the VueJs bootstrap for the interface

He then starts looking at the interface, showing how to register a new user (with two-factor auth), work with the "teams" functionality to group users and create payment and plan options for your products.

tagged: laravel spark deepdive internal overview alpha release

Link: https://mattstauffer.co/blog/introducing-laravel-spark-a-deep-dive

PHP 7.0.0 RC 3 Released
Sep 17, 2015 @ 09:04:35

The PHP.net site has officially announced the release of PHP 7.0.0 RC3 the latest Release Candidate for this upcoming major version. This is a development preview and is not intended for production use.

The PHP development team announces the immediate availability of PHP 7.0.0 RC 3. This is the eighth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

[...] This release provides a noticeable new Opcache feature which makes possible to move PHP code pages into the huge memory pages. It can be enabled with opcache.huge_code_page=1 in php.ini and can bring about 2% performance gain on supported platforms. Please help us to test this feature by enabling it and providing feedback.

They also list out several of the other features now included in the release such as:

  • improved overall performance
  • migrating some Fatal errors to Exceptions
  • the combined comparison operator ("spaceship")
  • scalar and return types
  • anonymous classes

As always you can download this latest version from the QA downloads page or here for the Windows binaries. The next release (RC4) will be coming October 1st, so be sure and test out RC3 on your systems and code and report those bugs!

tagged: php7 language release releasecandidate rc3 php7rc3

Link: http://php.net/archive/2015.php#id2015-09-17-2

Laravel News:
Laravel Spark
Sep 16, 2015 @ 10:17:32

On the Laravel News site Eric Barnes has posted a guide to installing and configuring the alpha version of Spark, the latest offering from the Laravel ecosystem for building out a unified SaaS billing system.

The Alpha of Laravel Spark has just been released and it’s goal is to be an opinionated way of building out business oriented SaaS applications. It features team management, user roles, recurring billing through Stripe, and much more. In this tutorial let’s take a deeper look at this new package.

He gets right into the installation of the tool as a Composer package to pull in the spark installer command line tool. A quick spark install command is all it takes to create the new application. He then gets into the different things that you can do with the generated application including:

  • Customize Registration and Profile Updates
  • Customize Roles
  • Customize Settings Tabs
  • Building Spark Subscription Payment Plans
  • Create Coupons and Discounts

This is just a preview of what's offered in the package and what's to come in the final product, but it gives you a good idea of where it starts.

tagged: laravel spark saas billing project alpha release

Link: https://laravel-news.com/2015/09/laravel-spark/

PHP 5.6.13 & 5.5.29 Released
Sep 04, 2015 @ 14:12:29

The main PHP.net site has announced the availability of the latest versions in the PHP 5.5.x and 5.6.x series - PHP 5.5.29 and PHP 5.6.13

The PHP development team announces the immediate availability of [these new versions]. This is a security release. Many security-related issues were fixed in this release. All PHP 5.5 [and 5.6] users are encouraged to upgrade to this version.

Problems fixed included issues around "user after free" memory bugs, PCRE (regular expression) handling and other smaller issues in other extensions. As mentioned, upgrading is highly recommended to these latest versions, especially given the security fixes involved. You can get these latest releases from the main downloads page (or windows.php.net for the Windows users out there). If you're interested in all of the changes in these releases, check out the full Changelog

tagged: language release bugfix security php55 php56

Link: http://php.net/index.php#id2015-09-04-3

September 2015 Issue Released - Security Boot Camp
Sep 02, 2015 @ 12:19:02

The latest issue of the php[architect] magazine has been released for September 2015. In this latest issue they focus on security in PHP along with the same columns you know and love.

In this issue, we have an overview of the various techniques that malicious users can use to attack your application, a deep dive into how passwords can be stored securely and how PHP’s built in password functions make this easier, a look at how to setup a PHP based Intrusion Detection System, and how to use PDO to guard against SQL injection attacks

Elsewhere, there’s a look at how to think like a functional programmer, an introduction to using Sculpin for generating a static site, an interview with Elizabeth Naramore, and more.

This month's issue includes articles like:

  • Basic Intrusion Detection with Expose (Greg Wilson) (read this one free here)
  • Keep Your Passwords Hashed and Salted (Leszek Krupi?ski)
  • Leveling Up: DeLoreans, Data, and Hacking Sites (David Stockton)

...as well as the "Education Station", "Community Corner" and "finally{}" columns from returning authors. You can purchase your copy of this month's issue directly from the php[architect] website either as a single issue or as a part of a subscription.

tagged: phparchitect magazine sept2015 security issue release

Link: https://www.phparch.com/magazine/2015-2/september/

PHP 7.0.0 Beta 3 Released
Aug 07, 2015 @ 10:33:08

The PHP.net site has announce the release of the latest beta version of the next upcoming major release of the language - PHP 7.0.0 Beta 3

The PHP development team announces the immediate availability of PHP 7.0.0 Beta 3. This is the fifth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system. [...] PHP 7.0.0 Beta 3 contains fixes for 33 reported bugs, 11 of which are security related, and altogether over 200 commits with various improvements.

You can download the source this latest beta from the php.net downloads section or the Windows binaries on windows.php.net/qa. The next release will be Release Candidate 1 on the 20th of August so the stable release will be coming soon! You can check out the NEWS file for what to expect in PHP 7 too.

tagged: language php7 beta beta3 release

Link: http://php.net/archive/2015.php#id2015-08-06-1