3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = 'DANIEL123'; var_dump($val); $val = str_pad($val, (16 * ( floor(strlen($val) / 16) + ( strlen($val) % 16 == 0 ? 2 : 1 ) ) ), chr(16 - (strlen($val) % 16) ) ); var_dump($val);
based on fi2HY
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
string(9) "DANIEL123" string(16) "DANIEL123"