3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $head=_ 943.375/h(ordinary) 1179.84375/h(extra) 58.5331744139849=3511.990464839094m =?=3512m =58h32m which means... _; echo $head; define("BSALARY",150940); echo "月俸:BSALARY\n"; define("EX_INCLUDED",69060); echo "見込み残業:EX_INCLUDED"; define("REG_TIME",8); $hsalary=ceil(BSALARY/REG_TIME)-1; echo "時間換算基本給:hsalary円\n"; $capableextra=ceil(EX_INCLUDED / hsalary); echo "残業可能時間:$capableextra\n"; $total=160+capableextra; echo "月稼働時間は$total\n"; $tperday=ceil($total/20); $dailyextra=tperday-8; echo "一日$tperday労働、平均残業$dailyextra時間";
based on 4cYIP
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected '943.375' (T_DNUMBER) in /in/5SW8D on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_DNUMBER in /in/5SW8D on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_DNUMBER in /in/5SW8D on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/5SW8D on line 3
Process exited with code 255.