Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
January 11, 2014
Chris
Modern PHP, PHP
3

PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs

PreviousNext

PHP 5.6 goes alpha

PHP 5.6 has been announced for a while now, and these days things get serious (code-freeze, alpha release). Bruno Skvorc of Sitepoint has released an excellent article on SOME of the new things in PHP 5.6, definitly worth reading. The changes are “smaller” (as far as I can judge this), no huge things that will change everything.

 

Facebook works on (and with) a “better” PHP, called Hack

As we are talking about new versions of PHP already: Keep your eyes open for HACK for HIPHOP. Facebook, who have already developed the game-changing HipHop-VirtualMachine that allows to precompile PHP for extreme speed gains, will release HACK, an improved version of the PHP language (!!) in the near future. No joke (or a very big one, but this looks promising). Julien Verlaguet of Facebook has presented this at the CUFP/ICFP 2013 (a Boston based conference), this seems to be very very interesting: They even made PHP a statically typed language (!). This might have a great future, definitly something we should keep an eye on.

 

Current PHP:

<?php

class MyClass {
    public $property;
}

Hack (for the HipHop VM), the “improved” PHP:

<?hh // note this ! ;)

class MyClass {
    // note the type definition
    public float $property;
}

 

 

Talk of Julien Verlaguet of Facebook:
http://www.youtube.com/watch?v=gKWNjFagR9k

Slides of that talk:
http://cufp.org/sites/all/files/slides/2013/verlaguet.pdf

Much more interesting slides, showing syntax etc. by Keith Adams of Facebook:
http://de.slideshare.net/zerutreck/taking-php-seriously-keith-adams

 

This article was written quite a while ago (8 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  • [RePost] Goodbye LAMP: Going Nginx, NoSQL, HHVM (41min conference talk with Arne Blankerts)[RePost] Goodbye LAMP: Going Nginx, NoSQL, HHVM (41min conference talk with Arne Blankerts)
  • Facebook releases HipHop (HHVM) 3.0, adds mysqli and support for Hack languageFacebook releases HipHop (HHVM) 3.0, adds mysqli and support for Hack language
  • Wow! Facebook devs have rewritten and fixed PHP, releasing it as new language called “Hack” todayWow! Facebook devs have rewritten and fixed PHP, releasing it as new language called “Hack” today
  • A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)
  • Experimenting with HHVM at Etsy (Link)Experimenting with HHVM at Etsy (Link)
  • How to setup / install PHP 5.6 on Ubuntu 14.04 LTSHow to setup / install PHP 5.6 on Ubuntu 14.04 LTS
  • Migrating Wikipedia to HHVM (@Scale Conference 2014)Migrating Wikipedia to HHVM (@Scale Conference 2014)
  • Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015
  • PHP 5.6.0 RC1 is availablePHP 5.6.0 RC1 is available
facebookhackHipHopModern PHPPHPPHP 5.6
Share this

3 Comments

Leave A Comment Cancel reply

php

[Link] How to create, read, update and delete (CRUD) with PDO, MySQLi and MySQL the right way (prepared statements)

Mike Dalisay has written an excellent tutorial on the CORRECT USAGE of basic CRUD functions (create, read, update, delete) with

steam sale coupon voucher

-30% to -90% on Steam and Origin

Soft off-topic, but as most developers like to play from time to time, this might be your change to grab

Frontend Ops Conf 2014 – Paul Irish: Delivering The Goods In Under 1000ms (40min video)

This article was written quite a while ago (8 years), please keep this in mind when using the information written

Rare Steve Jobs AND Bill Gates video interview from 2007’s D5 conference (90min)

This is something great! Two of the most important people in the last 20 years’s mainstream consumer IT history in

php ide

Sitepoint asks for your favourite PHP IDE – take part!

Bruno Skvorc ask for your favourite PHP IDE in this new article on Sitepoint. If you use one, then take

php

How the PHP session garbage collector really works

Sessions in PHP are easy to handle, but have a tricky configuration underneath. The common opinion is, that when you

MINI2, an extremely simple barebone PHP application on top of Slim

For my daily work I often needed to setup super-simple PHP applications, just some more or less static pages plus

phpstorm-8

PHPStorm 8 (early access version) released – for free

JetBrains have just released an Early Access version of the upcoming PHPStorm 8. In case you never worked with PHPStorm

php

How to install PHP curl extension (in 5 seconds)

It’s a common wordpress problem: PHP’s curl extension is not installed! No need to mess around in config files etc,

Increase your HTML / CSS coding speed with EMMET

Codeninja.com just published a very interesting article about the excellent free code-completion/code-generation tool EMMET, which allows you to create huge

1/4

Categories

Search

microsoft-windows-azure-cloud-hosting
Microsoft’s Azure platform gives away high money prizes for “testing out” their cloud services
O’Reilly sells EVERY ebook for -50% right now!
phpstorm-8
A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)
Install MINI in 30 seconds inside Ubuntu 14.04 LTS
phpstorm-8
PHPStorm 8 has just been released
How to get a single table out of a massive MySQL .sql database backup file (mysql dump splitter)
sass laravel
Extremely easy SASS in Laravel (with pure PHP)
JavaScript ECMAScript6 – A short video introduction (5min)
github-logo-octocat
GitHub rolls out .PSD diff and viewing
php uk conference
Profiling PHP Applications by Bastian Hofmann (video from PHP UK Conference 2014)
modern-php
Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015
php
Postmodern PHP: appserver.io, a multithreaded application server for PHP, written in PHP
hack-php
Facebook releases HipHop (HHVM) 3.0, adds mysqli and support for Hack language
pdo-debug
Debug PDO with this one-line function. Yeah!
php
A super-simple introduction into PHP namespaces (7min video)

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT