3v4l.org

run code in 500+ PHP versions simultaneously
<?php $v1 = "café"; $v2 = "cafe"."\u{0301}"; print "are '$v1' and '$v2' identical? \n"; var_dump($v1 == $v2); //returns false $café = 1; $café = 21; var_dump($café === $café); var_dump(array_keys(compact(['café', 'café'])));
Output for git.master, git.master_jit
are 'café' and 'café' identical? bool(false) bool(false) array(2) { [0]=> string(5) "café" [1]=> string(6) "café" }

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:
48.03 ms | 793 KiB | 4 Q