3v4l.org

run code in 500+ PHP versions simultaneously
<?php $from_null = (float) null; $from_int = (float) 0; $from_empty_string = (float) ''; $from_numeric_string = (float) '0'; var_dump($from_null === 0.0); // bool(true) var_dump($from_int === 0.0); // bool(true) var_dump($from_empty_string === 0.0 ); // bool(true) var_dump($from_numeric_string === 0.0 ); // bool(true)
Output for git.master_jit, git.master
bool(true) bool(true) bool(true) bool(true)

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:
50.67 ms | 700 KiB | 4 Q