3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = '<div class="cc"> <div class="text"><a href="/id17168683" class="mem_link" mention="bp-6471_105432" mention_id="id17168683">Артем</a>, я знаю про шнягу на 1.8 фф2, но у мя фф1</div>'; preg_match_all('/(?<=\<div class="text\"\>).*(?=\<\/div\>)/', $source, $matches); var_dump(strip_tags($matches));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in /in/ZQXpr:5 Stack trace: #0 /in/ZQXpr(5): strip_tags(Array) #1 {main} thrown in /in/ZQXpr on line 5
Process exited with code 255.

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:
37.01 ms | 401 KiB | 8 Q