3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stdObject = new StdClass; set_error_handler(function (int $severity, string $message, string $filename, int $line) { echo "Error Handled"; }); array_diff([$stdObject], [$stdObject]);

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.0100.00616.88
8.3.50.0030.01016.34
8.3.40.0100.01018.97
8.3.30.0150.00018.54
8.3.20.0040.00421.85
8.3.10.0080.00021.95
8.3.00.0050.00319.79
8.2.180.0110.01118.66
8.2.170.0090.00622.96
8.2.160.0030.01021.02
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0050.00222.25
8.2.120.0040.00426.35
8.2.110.0070.00322.18
8.2.100.0110.00017.91
8.2.90.0040.00719.16
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0000.00817.93
8.2.50.0000.00719.28
8.2.40.0040.00420.63
8.2.30.0040.00419.12
8.2.20.0070.00017.93
8.2.10.0040.00418.11
8.2.00.0000.00817.91
8.1.280.0110.00425.92
8.1.270.0040.00424.01
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0030.00720.99
8.1.230.0080.00419.12
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0060.00317.63
8.1.180.0050.00318.10
8.1.170.0060.00318.50
8.1.160.0000.00818.93
8.1.150.0050.00220.10
8.1.140.0040.00419.58
8.1.130.0040.00418.80
8.1.120.0000.00717.43
8.1.110.0060.00317.44
8.1.100.0040.00417.35
8.1.90.0040.00417.48
8.1.80.0070.00017.36
8.1.70.0000.00717.47
8.1.60.0000.00817.52
8.1.50.0080.00017.52
8.1.40.0000.00817.38
8.1.30.0030.00617.69
8.1.20.0080.00017.55
8.1.10.0080.00017.61
8.1.00.0040.00417.43
8.0.300.0000.00820.05
8.0.290.0040.00416.63
8.0.280.0000.00718.49
8.0.270.0000.00717.28
8.0.260.0000.00616.79
8.0.250.0070.00017.01
8.0.240.0030.00617.00
8.0.230.0040.00416.96
8.0.220.0030.00416.83
8.0.210.0050.00216.91
8.0.200.0070.00016.93
8.0.190.0060.00316.99
8.0.180.0000.00716.86
8.0.170.0040.00416.99
8.0.160.0070.00016.96
8.0.150.0030.00317.02
8.0.140.0000.00716.92
8.0.130.0000.00513.38
8.0.120.0070.00016.79
8.0.110.0000.00716.99
8.0.100.0080.00017.00
8.0.90.0030.00516.95
8.0.80.0000.01517.04
8.0.70.0060.00316.72
8.0.60.0070.00016.90
8.0.50.0090.00017.01
8.0.30.0150.00517.22
8.0.20.0110.00717.40
8.0.10.0000.00716.86
8.0.00.0090.00916.98
7.4.330.0030.00315.55
7.4.320.0070.00316.62
7.4.300.0000.00616.46
7.4.290.0070.00416.56
7.4.280.0030.00516.58
7.4.270.0000.00716.46
7.4.260.0050.00013.27
7.4.250.0040.00416.55
7.4.240.0000.00716.57
7.4.230.0000.00716.51
7.4.220.0080.00816.53
7.4.210.0040.01616.44
7.4.200.0050.00316.49
7.4.160.0050.01316.67
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0070.01316.62
7.4.120.0130.01216.50
7.4.110.0030.01416.51
7.4.100.0100.01416.76
7.4.90.0070.01416.67
7.4.80.0130.00319.39
7.4.70.0070.01016.49
7.4.60.0060.01116.58
7.4.50.0090.00316.49
7.4.40.0090.00916.40
7.4.30.0100.00716.70
7.4.00.0060.00914.92
7.3.330.0050.00013.36
7.3.320.0050.00013.22
7.3.310.0000.00716.39
7.3.300.0000.00716.33
7.3.290.0080.00716.34
7.3.280.0100.00616.33
7.3.270.0110.00717.40
7.3.260.0050.01216.37
7.3.250.0140.00716.45
7.3.240.0100.00716.41
7.3.230.0140.00816.34
7.3.210.0060.01016.64
7.3.200.0110.01016.43
7.3.190.0030.01416.43
7.3.180.0120.00616.38
7.3.170.0110.00716.46
7.3.160.0060.01016.38
7.3.120.0100.00714.69
7.3.110.0100.00714.79
7.3.100.0100.00314.50
7.3.90.0000.00814.99
7.3.80.0070.00414.82
7.3.70.0090.00314.61
7.3.60.0030.00814.79
7.3.50.0030.00614.85
7.3.40.0120.00414.63
7.3.30.0000.00914.87
7.3.20.0070.00716.82
7.3.10.0080.00616.45
7.3.00.0100.00016.79
7.2.330.0140.00316.59
7.2.320.0140.00716.39
7.2.310.0070.01016.70
7.2.300.0100.00716.55
7.2.290.0130.00516.67
7.2.250.0080.01115.02
7.2.240.0100.01014.87
7.2.230.0090.00315.22
7.2.220.0000.01115.06
7.2.210.0030.00914.80
7.2.200.0060.00914.93
7.2.190.0090.00615.09
7.2.180.0060.00614.98
7.2.170.0110.00415.06
7.2.60.0060.00916.54
7.2.50.0100.00716.98
7.2.00.0040.01119.40
7.1.330.0030.01015.50
7.1.320.0060.00615.81
7.1.310.0090.00315.80
7.1.300.0070.00315.80
7.1.290.0070.00715.59
7.1.280.0070.00315.67
7.1.270.0070.00715.72
7.1.260.0140.00015.52
7.1.200.0030.01015.94
7.1.70.0000.00717.12
7.1.60.0570.01733.27
7.1.50.0870.02332.78
7.1.40.0800.01332.71
7.1.30.0930.01732.61
7.1.20.0900.01332.45
7.1.10.0630.00714.58
7.1.00.0470.00714.93
7.0.200.0600.01014.83
7.0.190.0570.01314.98
7.0.180.0470.01314.32
7.0.170.0630.01714.14
7.0.160.0670.01314.31
7.0.150.0300.01014.58
7.0.140.0430.02014.71
7.0.130.0530.01014.61
7.0.120.0500.01714.61
7.0.110.0570.00714.44
7.0.100.0500.01014.45
7.0.90.0630.01014.63
7.0.80.0570.01014.41
7.0.70.0600.01314.59
7.0.60.0400.01314.42
7.0.50.0370.00714.39
7.0.40.0300.01014.54
7.0.30.0330.01014.38
7.0.20.0330.01014.48
7.0.10.0630.00314.58
7.0.00.0400.01314.46

preferences:
58.04 ms | 400 KiB | 5 Q