3v4l.org

run code in 300+ PHP versions simultaneously
<?php $basePath = "images/bin/channels/"; $noImageNegative = "images/bin/channels/nochan_neg.png"; $noImageTribune = "http://aiotv.tmsimg.com/sources/generic/generic_sources_h3.png"; $path = "http://aiotv.tmsimg.com/sources/h3/NowShowing/21633/s21633_h3_aa.png"; if($path == $noImageTribune){ $newPath = $noImageNegative; } else { $fileName = pathinfo($path,PATHINFO_FILENAME); $negName = $fileName . "_neg.png"; $newPath = $basePath . $negName; } print $newPath;
Output for git.master, git.master_jit, rfc.property-hooks
images/bin/channels/s21633_h3_aa_neg.png

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