run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match( '/<img.+src=[\'"](?P<src>.+)[\'"].*>/i', '<img src="/wordpress/wp-content/uploads/2012/11/reading-240x240.jpg" alt="" width="170" height="200" /> </em><em>Econintersect</em>: Every day our editors collect the most interesting things they find from around the internet and present a summary "reading list" which will include very brief summaries of why each item has gotten our attention. Suggestions from readers for "reading list"', $matches); echo $matches[1]; // 1234
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.1.10
/wordpress/wp-content/uploads/2012/11/reading-240x240.jpg" alt="" width="170" height="200
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/ih2ae on line 3
Process exited with code 255.