3v4l.org

run code in 300+ PHP versions simultaneously
<?php $holiday_dates = '10/14/2021, 11/11/2021, 12/09/2021,'; $imploded = implode(', ', $holiday_dates); $comma_remove = rtrim($imploded, ', '); $dates_array = explode(', ', $comma_remove); var_dump($dates_array);
Output for rfc.property-hooks, git.master_jit, git.master
Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /in/TAPVL:5 Stack trace: #0 /in/TAPVL(5): implode(', ', '10/14/2021, 11/...') #1 {main} thrown in /in/TAPVL on line 5
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:
40.77 ms | 870 KiB | 4 Q