3v4l.org

run code in 300+ PHP versions simultaneously
<?php $true = true; $false = false; $one = 1; $string = 'string'; var_dump($true['it does not fucking matter'], $false['invalid']); var_dump($one['what about this']); var_dump($string['this?']);
Output for git.master, git.master_jit
Warning: Trying to access array offset on value of type bool in /in/m92WZ on line 8 Warning: Trying to access array offset on value of type bool in /in/m92WZ on line 8 NULL NULL Warning: Trying to access array offset on value of type int in /in/m92WZ on line 9 NULL Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/m92WZ:10 Stack trace: #0 {main} thrown in /in/m92WZ on line 10
Process exited with code 255.
Output for rfc.property-hooks
Warning: Trying to access array offset on true in /in/m92WZ on line 8 Warning: Trying to access array offset on false in /in/m92WZ on line 8 NULL NULL Warning: Trying to access array offset on int in /in/m92WZ on line 9 NULL Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/m92WZ:10 Stack trace: #0 {main} thrown in /in/m92WZ on line 10
Process exited with code 255.

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:
44.83 ms | 401 KiB | 8 Q