3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "CSS, HTML, JAVASCRIPT, AJAX, BOTSTRAP,DJANGO, LAYNX,BOTSTRAP,JQUERY,AJAX"; $skills = array_unique(preg_split('/\s*,\s*/', $string)); $count=count($skills); foreach ($skills as $skill) { echo "<li><a href='#' > $count |$skill </a></li>" . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
<li><a href='#' > 8 |CSS </a></li> <li><a href='#' > 8 |HTML </a></li> <li><a href='#' > 8 |JAVASCRIPT </a></li> <li><a href='#' > 8 |AJAX </a></li> <li><a href='#' > 8 |BOTSTRAP </a></li> <li><a href='#' > 8 |DJANGO </a></li> <li><a href='#' > 8 |LAYNX </a></li> <li><a href='#' > 8 |JQUERY </a></li>

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:
28.94 ms | 406 KiB | 5 Q