3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Two 9-dram clear styrene tubes with snap-on caps, 1 x 2-3/4? I.D. (25.2 x 68mm), are supplied as containers. Additional or replacement tubes #8909 are available. As a safety precaution, BioQuip recommends using the #1135Y HEPA filter with this aspirator. Also see #1135X aspirator syringe bulb. It allows users to aspirate specimens without inhaling particulate matter."; $ids=[]; list(,$a,$b,$c) = explode("#",$str); $ids = array_map(function($e) { return explode(" ",$e)[0]; },[$a,$b,$c]); print_r($ids);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 8909 [1] => 1135Y [2] => 1135X )

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