3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $actual = version_compare('1.0.6.8', '1.0.6.10','<')."<br>"; // returns -1 if the first version is lower than the second, 0 if they are equal, and 1 if the second is lower. $expected = -1; var_dump($expected, $actual);

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)
8.3.60.0090.00616.88
8.3.50.0090.00616.46
8.3.40.0180.00318.54
8.3.30.0070.00718.54
8.3.20.0050.00220.04
8.3.10.0030.00521.73
8.3.00.0050.00319.41
8.2.180.0120.00616.50
8.2.170.0080.00622.96
8.2.160.0070.00720.18
8.2.150.0040.00424.18
8.2.140.0020.00524.66
8.2.130.0000.00719.45
8.2.120.0050.00226.35
8.2.110.0060.00319.35
8.2.100.0080.00418.12
8.2.90.0000.00819.09
8.2.80.0030.00618.04
8.2.70.0070.00317.75
8.2.60.0060.00317.93
8.2.50.0030.00518.10
8.2.40.0030.00620.42
8.2.30.0030.00619.11
8.2.20.0040.00418.03
8.2.10.0040.00417.91
8.2.00.0070.00017.91
8.1.280.0140.00325.92
8.1.270.0090.00022.02
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0050.00523.88
8.1.230.0060.00617.42
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00717.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0030.00518.69
8.1.160.0000.00719.00
8.1.150.0040.00420.59
8.1.140.0000.00719.61
8.1.130.0030.00318.78
8.1.120.0000.00717.44
8.1.110.0000.00817.44
8.1.100.0030.00517.32
8.1.90.0050.00317.43
8.1.80.0000.00817.37
8.1.70.0030.00317.44
8.1.60.0050.00317.46
8.1.50.0000.00817.46
8.1.40.0050.00317.49
8.1.30.0000.00717.55
8.1.20.0000.00917.57
8.1.10.0070.00017.58
8.1.00.0040.00417.44
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.43
8.0.270.0000.00717.15
8.0.260.0000.00716.84
8.0.250.0040.00416.91
8.0.240.0030.00516.95
8.0.230.0050.00316.92
8.0.220.0030.00316.77
8.0.210.0000.00716.75
8.0.200.0000.00716.96
8.0.190.0050.00316.82
8.0.180.0000.00716.92
8.0.170.0000.00716.80
8.0.160.0000.00716.84
8.0.150.0040.00416.71
8.0.140.0040.00416.83
8.0.130.0000.00613.32
8.0.120.0000.00716.79
8.0.110.0020.00516.68
8.0.100.0000.00716.84
8.0.90.0070.00016.94
8.0.80.0090.00916.84
8.0.70.0040.00416.80
8.0.60.0040.00416.77
8.0.50.0040.00416.63
8.0.30.0140.00217.03
8.0.20.0110.00817.40
8.0.10.0040.00416.85
8.0.00.0070.01016.82
7.4.330.0000.00515.55
7.4.320.0000.00616.52
7.4.300.0000.00616.51
7.4.290.0000.00716.43
7.4.280.0030.00516.46
7.4.270.0040.00416.53
7.4.260.0030.00313.21
7.4.250.0050.00516.36
7.4.240.0000.00716.47
7.4.230.0030.00316.40
7.4.220.0110.01116.62
7.4.210.0060.01016.54
7.4.200.0000.00816.42
7.4.160.0090.00716.38
7.4.150.0090.01517.40
7.4.140.0130.01117.86
7.4.130.0110.01116.39
7.4.120.0050.01416.44
7.4.110.0030.01316.63
7.4.100.0150.00416.55
7.4.90.0060.01016.41
7.4.80.0030.01919.39
7.4.70.0100.01016.45
7.4.60.0080.00816.39
7.4.50.0110.00716.52
7.4.40.0090.00916.41
7.4.30.0110.00616.59
7.4.00.0000.01514.91
7.3.330.0030.00312.94
7.3.320.0030.00312.99
7.3.310.0000.00616.12
7.3.300.0030.00316.17
7.3.290.0070.00016.05
7.3.280.0060.01116.19
7.3.270.0040.01517.40
7.3.260.0110.00616.37
7.3.250.0100.00816.43
7.3.240.0090.01016.51
7.3.230.0130.00516.18
7.3.210.0040.01716.15
7.3.200.0100.00716.41
7.3.190.0060.00916.38
7.3.180.0060.01016.46
7.3.170.0080.01416.30
7.3.160.0060.01016.41
7.2.330.0110.00716.37
7.2.320.0090.00916.32
7.2.310.0090.00816.72
7.2.300.0140.00316.71
7.2.290.0060.01116.62
7.2.90.0040.00716.46
7.2.80.0060.00616.67
7.2.70.0120.00616.54
7.2.60.0040.00816.57
7.2.50.0090.00616.74
7.2.40.0060.01216.59
7.2.30.0110.00316.53
7.2.20.0060.01216.59
7.2.10.0030.01416.93
7.2.00.0130.00316.72
7.1.210.0190.00313.77
7.1.200.0030.00915.73
7.1.190.0040.01115.75
7.1.180.0060.00615.59
7.1.170.0120.00415.75
7.1.160.0030.01315.42
7.1.150.0120.00615.67
7.1.140.0040.01215.51
7.1.130.0040.01215.52
7.1.120.0090.00615.74
7.1.110.0090.00615.68
7.1.100.0070.00715.82
7.1.90.0080.00413.92
7.1.80.0120.00015.51
7.1.70.0070.01114.10
7.1.60.0290.01633.45
7.1.50.0950.01631.73
7.1.40.0740.01031.84
7.1.30.0230.01731.91
7.1.20.0990.01031.87
7.1.10.0120.00613.88
7.1.00.0080.00815.46
7.0.310.0000.01015.13
7.0.300.0000.01515.14
7.0.290.0000.01515.32
7.0.280.0110.00015.27
7.0.270.0070.01015.00
7.0.260.0120.00315.13
7.0.250.0040.00714.98
7.0.240.0080.00615.36
7.0.230.0100.00713.63
7.0.220.2360.01015.12
7.0.210.2300.00915.26
7.0.200.0050.00715.36
7.0.190.0140.00713.69
7.0.180.0060.01313.76
7.0.170.0740.00713.79
7.0.160.0120.00613.46
7.0.150.0650.00313.48
7.0.140.0000.01115.39
7.0.130.0090.00215.53
7.0.120.0070.00315.21
7.0.110.1230.01315.21
7.0.100.0060.00615.39
7.0.90.0090.00515.42
7.0.80.0040.00715.41
7.0.70.0070.00415.16
7.0.60.0040.00915.32
7.0.50.0050.01013.28
7.0.40.1470.00615.31
7.0.30.0040.01513.54
7.0.20.1200.01013.50
7.0.10.1590.00313.61
7.0.00.0260.01013.36

preferences:
58.53 ms | 401 KiB | 5 Q