3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '25,34,45,46'; $array = explode(",", $string); echo array_sum($array); ?>

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
150
Output for Arrow functions
150
Output for Object typehint
150
Output for Array change keys
150
Output for Lexical anon
150

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page