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 (9 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

ilovepreloaders – A tumblr collection of preloader animations

An excellent collection of preloaders (GIFs, Movies and real ready-to-copy&paste code) here in this wonderful blog: http://ilovepreloaders.tumblr.com/ This thing just

php

Slides from International PHP Conference 2014

Have fun :)           The talk Code Coverage: Covered in Depth by Sebastian Bergmann can be

unreal-4-engine

Tim Sweeney talks about the future of game graphics (and which hardware we need to “clone” reality)

If you are interested in 3D/CAD and game graphics and get sweaty hands at each new high-end game engine trailer

php

A super-simple introduction into PHP namespaces (7min video)

Once again, Jesse of JREAM totally nails it right on the head. A super-simple introduction into PHP namespaces. If you

digitalocean coupon

DigitalOcean VPS coupon codes for december 2013 and early 2014

Some (working!) coupon codes for DigitalOcean, the low-cost VPS server/hosting provider of the year. They are for NEW customers, but

laracon-2014-eu-amsterdam

Laracon 2013 – Jordi Boggiano: In Depth Composer (47min video)

More videos of 2013’s and 2014’s Laracon events from US and EU on their Youtube channel. This article was written

MINI, an extremely simple barebone PHP application

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

bitdeli git github stats

Get visitor stats for your GitHub repo with BitDeli

GitHub is the definitive #1 “hoster” for git repositories, no question. And this highly sympathic company has made version control

phpstorm 7.0 php

How to debug code on a remote server (or in vagrant box) with PHPStorm

Please also note: There are several methods to do remote debugging. This is the one that works without any browser

Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines

A few days ago the 30th edition of Germany’s Chaos Communication Congress took place, a high-profile event for IT-security and

1/4

Categories

Search

Frontend Ops Conf 2014 – Sarah Goff-Dupont: Git, Continuous Integration and Making It Pretty (31min video)
harper reed about big data
Harper Reed – The magic and mystery of Big Data (30min video from Webstock’15)
Joshua Davis – my hero of Flash – in two excellent interviews (audio, video)
nginx php 5.5
[Link] Set up Nginx with PHP 5.5 easily
compress-png
Compress png, jpeg, gif and svg up to 90% with Compressor.io
PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !
times-new-roman
The Times talks about Times New Roman (3min video)
Migrating Wikipedia to HHVM (@Scale Conference 2014)
phpstorm 7.0 php
How to setup and use XDEBUG with PHPStorm 6/7 (locally in Windows 7/8 and Mac OS X)
Serious hard-to-fix bug in OAuth and OpenID discovered, lots of major sites affected
steam sale coupon voucher
-30% to -90% on Steam and Origin
symfony-framework-logo
SensioLabs, creator of Symfony and Silex PHP frameworks, gets $7 million capital
Hacked french TV channel exposed passwords in TV interview (video, screenshots, links)
Dangerous Performance Myths in the Web (video talk by Thomas Lohner, PHPUG Latvia)
php
Somebody is writing a compiler for PHP, compiles down to machine code, outperforms HHVM

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”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
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