3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tambah = 0; $kurang = 0; function tambah_dan_kurang($a=1,$b=2, &$tambah, &$kurang) { $tambah = $a + $b; $kurang = $b-1; } tambah_dan_kurang(1,2, $tambah, $kurang); echo $tambah."\n"; echo $kurang; ?>
based on RTuCf
Output for 4.3.0 - 7.2.0
3 1