3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txtnum = "Called Number Call Type Call Time Call Duration Call Charges 9231332454834 SMS2/5/2019 9:31:15 AM-- Minutes 0.00 PK 9230374555790 SMS2/4/2019 8:42:07 PM-- Minutes 0.00 PKR"; $words = explode(' ',$txtnum); $result = array_filter($words, 'ctype_digit'); echo implode(PHP_EOL,$result);
Output for git.master, git.master_jit, rfc.property-hooks
9231332454834 9230374555790

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