3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ '-1' => 'val-1', 0 => 'val0', '3' => 'val3', 4.5 => 'val4.5', ]; var_export([...$array]);
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Implicit conversion from float 4.5 to int loses precision in /in/Ze70K on line 7 array ( 0 => 'val-1', 1 => 'val0', 2 => 'val3', 3 => 'val4.5', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
160.83 ms | 405 KiB | 5 Q