3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reťazec = "2FR7468532196V 6074A003.01.2013"; $reťazec = str_replace(' ', '', $reťazec); $a = $reťazec[0]; $b = substr($reťazec, 1, 12); $c = substr($reťazec, 15, 8); $d = substr($reťazec, 24, 10); foreach(['a', 'b', 'c', 'd'] as $var) { echo "Obsah premennej $var: " . ($$var) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Obsah premennej a: 2 Obsah premennej b: FR7468532196 Obsah premennej c: 074A003. Obsah premennej d: 1.2013

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