3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = "height:30 width:60kg"; sscanf($val,"height:%d width:%dkg",$height,$width); var_dump($height, $width);
Output for 4.3.0 - 7.1.10
int(30) int(60)