3v4l.org

run code in 300+ PHP versions simultaneously
<?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

preferences:
42.32 ms | 402 KiB | 5 Q