3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "text @user text @Губка Боб text @user1 text text @SiteTe.ru text text text @любитель text text @guba bob text text @geb 123"; if (preg_match_all('~(?=(?<!\S)(@.{0,29}))~u', $text, $matches)) { array_shift($matches); print_r($matches[0]); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => @user text @Губка Боб text @us [1] => @Губка Боб text @user1 text te [2] => @user1 text text @SiteTe.ru te [3] => @SiteTe.ru text text text @люб [4] => @любитель text text @guba bob [5] => @guba bob text text @geb 123 [6] => @geb 123 )

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:
30.33 ms | 402 KiB | 8 Q