3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $maas=1900; if (maas>=2000){ $a=$maas*0.2; $kalan=$maas-$a; echo "maaşınız: ".$kalan;} else echo "maaşınız: ".$maas; ?>
based on U7UNs

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

Output for Typed properties v2
Warning: Use of undefined constant maas - assumed 'maas' (this will throw an Error in a future version of PHP) in /in/6KlVR on line 3 maaşınız: 1900
Output for Arrow functions
Notice: Use of undefined constant maas - assumed 'maas' in /in/6KlVR on line 3 maaşınız: 1900
Output for Object typehint
Notice: Use of undefined constant maas - assumed 'maas' in /in/6KlVR on line 3 maaşınız: 1900
Output for Array change keys
Notice: Use of undefined constant maas - assumed 'maas' in /in/6KlVR on line 3 maaşınız: 1900
Output for Lexical anon
Notice: Use of undefined constant maas - assumed 'maas' in /in/6KlVR on line 3 maaşınız: 1900

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