3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "9938275IBUPROFENIX 400 mg comp.x 10 00000594NNPhoenix 00000062220110810001001803827517791848330116001010NNN00"; $name = trim(trim(substr($line, 7, 44)) . ' ' . trim(substr($line, 51, 24))); $brand = trim(substr($line, 7, 44)); echo $name . '----'; echo $brand . '----';
Output for git.master, git.master_jit, rfc.property-hooks
IBUPROFENIX 400 mg comp.x 10----IBUPROFENIX----

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