3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '$str = "<p>V 站的程序员都好牛 b</p>,<img src="/uploads/allimg/170427/10330HO4-0.jpg"> 巴拉巴拉 <img src="/uploads/allimg/170427/10330HO5-1.png"> <div>你们最帅了</div>"; '; function test($content) { $re = '/src=".+?"/m'; preg_match_all($re, $str, $srcs); var_dump($srcs); } test($str);
Output for git.master_jit, git.master, rfc.property-hooks
Warning: Undefined variable $str in /in/EsAkD on line 11 Deprecated: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /in/EsAkD on line 11 array(1) { [0]=> array(0) { } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.67 ms | 401 KiB | 8 Q