3v4l.org

run code in 300+ PHP versions simultaneously
<?php $md = <<<'MD' Some stuff before this notice which is not relevant. == Upgrade Notice == = 1.3.0 = When using Master Pro, 1.3.0 is the new minimal required version! = 1.1.0 = When using Master Pro, 1.1.0 is the new minimal required version! = 1.0.0 = No upgrade - just install :) [See changelog for all versions](https://plugins.svn.wordpress.org/master-pro/trunk/CHANGELOG.md). MD; $versions = []; $currentVersion = ''; $ignore = true; foreach(explode("\n", $md) as $line) { if (str_starts_with($line, '== Upgrade Notice ==')) { $ignore = false; continue; } if (preg_match('/^= ([0-9.]+) =/', $line, $matches)) { $currentVersion = $matches[1]; continue; } if (true === $ignore || '' === $currentVersion) { continue; } $versions[$currentVersion][] = $line; } print_r($versions);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [1.3.0] => Array ( [0] => [1] => When using Master Pro, 1.3.0 is the new minimal required version! [2] => ) [1.1.0] => Array ( [0] => [1] => When using Master Pro, 1.1.0 is the new minimal required version! [2] => ) [1.0.0] => Array ( [0] => [1] => No upgrade - just install :) [2] => [3] => [See changelog for all versions](https://plugins.svn.wordpress.org/master-pro/trunk/CHANGELOG.md). ) )

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:
55.12 ms | 407 KiB | 5 Q