3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(ICL_LANGUAGE_CODE=='fr'){ /* If the page is in french */ ?> <time datetime="<?php echo esc_attr(date_format($ts, 'H:i d-m-Y')) ?>" data-timezone="<?php echo esc_attr($tz_param) ?>"><?php echo date_i18n( 'H:i d-m-Y', $ts ); ?></time> // Line B <?php } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "ICL_LANGUAGE_CODE" in /in/bHP1o:1 Stack trace: #0 {main} thrown in /in/bHP1o on line 1
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:
41.57 ms | 1465 KiB | 4 Q