3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( preg_match_all('/[Slim|Athletic|Muscular|Average|A\sfew\sextra\spounds|Big\s\&\sbeautiful]/', 'Slim', $matches), $matches );
Output for 5.3.7 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(4) array(1) { [0]=> array(4) { [0]=> string(1) "S" [1]=> string(1) "l" [2]=> string(1) "i" [3]=> string(1) "m" } }
Output for hhvm-3.10.0

Process exited with code 153.