3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = "207-30-00620 Б/У_KOMATSU_БУ"; $name = explode("_", $filename); $manufacturer_code = $name[0]; $brand_name = $name[1]; $item_type = trim($name[2]); var_dump($manufacturer_code, $brand_name, $item_type);
Output for git.master, git.master_jit, rfc.property-hooks
string(18) "207-30-00620 Б/У" string(7) "KOMATSU" string(4) "БУ"

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