3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(' protected $pkgVersion = \'1.1\';'); $exploded = explode('=', array_shift($matches)); $result = trim(array_pop($exploded), '\t ;\'"'); $val1 = explode('.', $result); $val2 = explode('.', $this->input[0]); $val2 = array_pad($val2, count($val1), '0'); $val1 = array_pad($val1, count($val2), '0'); if (implode('.', $val2) != implode('.', $val1)) { $success = false; } $result = $result; var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Using $this when not in object context in /in/o6TOn:8 Stack trace: #0 {main} thrown in /in/o6TOn on line 8
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:
45.6 ms | 401 KiB | 8 Q