3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); echo base_convert(base_convert(3.14, 10, 16), 16, 10);

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

Output for branch php-7.4
314
Output for Typed properties v2
314
Output for Arrow functions
314
Output for Object typehint
314
Output for Array change keys
314
Output for Lexical anon
Warning: Unsupported declare 'strict_types' in /in/nWaSc on line 2 314

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