3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "http://example.com/our-post-name-here-number-one-81347.html our post name number one http://example.com/our-post-name-here-number-two-81348.html our post name number two http://example.com/our-post-name-here-number-three-81349.html our post name number three"; $array = explode("\n", $s); foreach ($array as $item) { $removed = "copyright"; $nothing = ""; $url = explode(" ", $item); $data = $url[0]; $explode = explode(".html", $data); // other functions $primary = $explode[0]; $pieces = explode("-", $primary); $number = array_pop($pieces); print $number; print '<br>'; }
Output for git.master, git.master_jit, rfc.property-hooks
81347<br>81348<br>81349<br>

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:
82.92 ms | 405 KiB | 5 Q