3v4l.org

run code in 300+ PHP versions simultaneously
<?php $head=<<<EOF 943.375/h(ordinary) 1179.84375/h(extra) 58.5331744139849=3511.990464839094m =?=3512m =58h32m which means... EOF; 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}時間";
Output for git.master, git.master_jit, rfc.property-hooks
943.375/h(ordinary) 1179.84375/h(extra) 58.5331744139849=3511.990464839094m =?=3512m =58h32m which means...月俸:BSALARY 見込み残業:EX_INCLUDED時間換算基本給:18867円 Fatal error: Uncaught Error: Undefined constant "hsalary" in /in/Zbu3L:18 Stack trace: #0 {main} thrown in /in/Zbu3L on line 18
Process exited with code 255.

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:
54.43 ms | 401 KiB | 8 Q