3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = date_create('now'); $d2 = date_create('now'); $diff = $d2->diff($d1); echo phpversion()."\n"; print_r($diff);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.3.20.1030.00615.03
7.3.10.0580.00315.01
7.3.00.0100.00514.91
7.2.130.0280.00315.22
7.2.120.1250.00714.91
7.2.110.0880.00015.11
7.2.100.1010.00315.22
7.2.90.0920.00314.80
7.2.80.1000.01014.95
7.2.70.0970.00715.30
7.2.60.1350.01015.06
7.2.50.1000.00715.13
7.2.40.1030.01615.13
7.2.30.1110.01015.00
7.2.20.0860.01315.32
7.2.10.1010.01015.18
7.2.00.0950.00314.94
7.1.250.2000.00314.03

preferences:
35.62 ms | 400 KiB | 5 Q