3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row=array('_id' => 'ORD=298/HP/13^LN=3^RL=1^DM_ORD=G31308^DM_LN=2^DM_RL=1^DM_LN_IT=^'); $DM_LN_IT= rtrim(substr($row['_id'], strrpos($row['_id'], '=')+1),'^'); var_dump( $DM_LN_IT);
Output for 4.3.0 - 7.1.0
string(0) ""