3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $link = "http://www.furaffinity.net/view/16325769/#cid:95209971"; if(ereg("^(https?:\/\/)?(www\.)?[a-zA-Z0-9\+\-\&\#\@\/\%\?\=\~\_\.]+$", $link)){ echo "si"; }else{ echo "no"; }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function ereg() in /in/J16T9:4 Stack trace: #0 {main} thrown in /in/J16T9 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Deprecated: Function ereg() is deprecated in /in/J16T9 on line 4 no
Output for 4.3.0 - 5.2.17
no