3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "<html>3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 di<pre>fferent PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l</pre>.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. <pre>I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you s</pre>ubmit, this site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this <pre>site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than</pre> 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:</html>"; function getTagContent($data, $tag) { $openingTag = "<$tag>"; $closingTag = "</$tag>"; $results = array(); $content = $data; $pos = strpos($content, $openingTag); while($pos !== FALSE) { $content = substr($content, $pos+strlen($openingTag)); $results[] = htmlentities(substr($content, 0, strpos($content, $closingTag))); $pos = strpos($content, $openingTag); } return $results; } var_dump(getTagContent($data, "pre"));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(137) "fferent PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:3v4l" [1]=> string(133) "I compiled more than 200 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you s" [2]=> string(131) "site tells you:3v4l.org (leetspeak for eval) is an online shell that allows you to run your code on my server. I compiled more than" }

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