3v4l.org

run code in 300+ PHP versions simultaneously
<?php function estado($date_atual1, $date_insc1 ){ $date_insc1=2025-01-12; $date_atual1=2029-01-05; $st; if (strtotime($date_atual1 < $date_insc1)){ return $st = 1; //return true; //echo 'Inscrições abertas'; }elseif (strtotime($date_atual1 == $date_insc1)){ return $st = 1; //return true; //echo 'Inscrições abertas'; }else{ return $st = 0; //echo 'Inscrições encerradas '; //return false; //echo $st; } return $st; } echo estado();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: Too few arguments to function estado(), 0 passed in /in/pGeKW on line 25 and exactly 2 expected in /in/pGeKW:2 Stack trace: #0 /in/pGeKW(25): estado() #1 {main} thrown in /in/pGeKW on line 2
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:
51.95 ms | 401 KiB | 8 Q