3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<div id="rates-deposit"> <table cellspacing="0"> <tr> <th>EUR</th> <th>USD</th> <th>CNY</th> <th>JPY</th> </tr> <tr> <td class="u">50,50<ins></ins></td> <td class="u">36,45<ins></ins></td> <td class="u">5,96<ins></ins></td> <td class="n">0,36<ins></ins></td> </tr> </table> </div>'; preg_match_all("#<tr>(.*)</tr>#is",$content,$array); print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => <tr> <th>EUR</th> <th>USD</th> <th>CNY</th> <th>JPY</th> </tr> <tr> <td class="u">50,50<ins></ins></td> <td class="u">36,45<ins></ins></td> <td class="u">5,96<ins></ins></td> <td class="n">0,36<ins></ins></td> </tr> ) [1] => Array ( [0] => <th>EUR</th> <th>USD</th> <th>CNY</th> <th>JPY</th> </tr> <tr> <td class="u">50,50<ins></ins></td> <td class="u">36,45<ins></ins></td> <td class="u">5,96<ins></ins></td> <td class="n">0,36<ins></ins></td> ) )

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:
34.24 ms | 403 KiB | 8 Q