<?php $var = "1572|906|1573"; $first = explode('|', $var)[0]; var_dump($first);
You have javascript disabled. You will not be able to edit any code.