3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stdObject = new stdClass(); 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.0110.00716.63
8.3.50.0060.00916.50
8.3.40.0140.00318.83
8.3.30.0120.00318.85
8.3.20.0070.00021.73
8.3.10.0050.00321.96
8.3.00.0080.00017.80
8.2.180.0110.01118.29
8.2.170.0150.00022.96
8.2.160.0140.00021.11
8.2.150.0080.00024.18
8.2.140.0020.00524.66
8.2.130.0070.00020.34
8.2.120.0080.00026.35
8.2.110.0040.00422.07
8.2.100.0060.00618.03
8.2.90.0040.00419.19
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0080.00017.68
8.2.50.0000.00719.39
8.2.40.0000.00820.41
8.2.30.0000.00719.21
8.2.20.0000.00717.93
8.2.10.0070.00017.93
8.2.00.0040.00418.11
8.1.280.0100.00325.92
8.1.270.0030.00522.06
8.1.260.0070.00026.35
8.1.250.0030.00328.09
8.1.240.0030.00720.81
8.1.230.0110.00019.10
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0030.00617.35
8.1.190.0050.00317.51
8.1.180.0000.00818.10
8.1.170.0070.00018.66
8.1.160.0050.00218.90
8.1.150.0080.00020.01
8.1.140.0040.00419.46
8.1.130.0070.00018.92
8.1.120.0070.00017.39
8.1.110.0040.00417.44
8.1.100.0000.00717.49
8.1.90.0040.00417.41
8.1.80.0070.00017.31
8.1.70.0000.00717.48
8.1.60.0030.00617.59
8.1.50.0060.00317.54
8.1.40.0000.00917.49
8.1.30.0070.00017.61
8.1.20.0000.00717.59
8.1.10.0030.00617.63
8.1.00.0060.00317.44
8.0.300.0050.00220.04
8.0.290.0080.00016.73
8.0.280.0070.00018.44
8.0.270.0070.00017.13
8.0.260.0030.00316.80
8.0.250.0030.00317.04
8.0.240.0000.00716.92
8.0.230.0000.00717.04
8.0.220.0000.00716.96
8.0.210.0050.00316.97
8.0.200.0000.00617.02
8.0.190.0040.00417.04
8.0.180.0040.00416.94
8.0.170.0030.00416.96
8.0.160.0070.00016.99
8.0.150.0040.00416.85
8.0.140.0000.00716.78
8.0.130.0050.00013.31
8.0.120.0040.00416.80
8.0.110.0040.00416.75
8.0.100.0040.00416.77
8.0.90.0070.00016.84
8.0.80.0080.00817.00
8.0.70.0050.00216.92
8.0.60.0040.00416.94
8.0.50.0000.00716.91
8.0.30.0090.01117.16
8.0.20.0090.01217.40
8.0.10.0000.00816.96
8.0.00.0090.00916.77
7.4.330.0000.00515.55
7.4.320.0000.00616.43
7.4.300.0080.00016.51
7.4.290.0040.00416.55
7.4.280.0090.00016.59
7.4.270.0040.00416.55
7.4.260.0060.00013.32
7.4.250.0040.00416.52
7.4.240.0000.00716.50
7.4.230.0030.00316.70
7.4.220.0170.00016.53
7.4.210.0090.00616.53
7.4.200.0000.00716.46
7.4.160.0110.00616.40
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0100.01416.48
7.4.120.0130.00916.57
7.4.110.0030.01716.56
7.4.100.0180.00316.64
7.4.90.0070.01016.53
7.4.80.0000.01719.39
7.4.70.0130.00316.51
7.4.60.0090.01216.31
7.4.50.0110.00716.78
7.4.40.0070.01416.53
7.4.30.0120.00416.77
7.4.00.0100.00714.95
7.3.330.0000.00613.07
7.3.320.0050.00213.20
7.3.310.0030.00516.13
7.3.300.0060.00016.25
7.3.290.0040.00916.29
7.3.280.0100.00616.23
7.3.270.0100.01017.40
7.3.260.0120.00516.30
7.3.250.0100.00816.36
7.3.240.0070.00916.33
7.3.230.0070.01016.30
7.3.210.0130.00316.36
7.3.200.0110.00716.41
7.3.190.0070.01016.31
7.3.180.0120.00316.56
7.3.170.0150.00616.25
7.3.160.0150.00316.29
7.2.330.0060.01016.54
7.2.320.0120.01216.71
7.2.310.0080.00816.77
7.2.300.0030.01416.59
7.2.290.0050.01616.30
7.2.60.0100.00716.91
7.2.50.0090.00916.87
7.2.00.0070.00719.48
7.1.200.0000.00915.80
7.1.70.0030.00617.09
7.1.60.0600.01333.16
7.1.50.0600.01332.79
7.1.40.1200.02032.39
7.1.30.0970.00732.56
7.1.20.0630.01332.64
7.1.10.0800.00714.60
7.1.00.0470.01314.75
7.0.200.0630.01014.78
7.0.190.0600.00714.81
7.0.180.0500.01314.42
7.0.170.0730.00714.10
7.0.160.0630.01014.27
7.0.150.0600.01314.25
7.0.140.0430.01314.34
7.0.130.0730.01014.62
7.0.120.0930.01014.53
7.0.110.0770.01314.30
7.0.100.0630.00714.57
7.0.90.0770.00014.30
7.0.80.0570.01014.36
7.0.70.0630.01014.33
7.0.60.0470.01314.32
7.0.50.0700.00714.48
7.0.40.0570.01014.48
7.0.30.0500.01014.55
7.0.20.0800.01314.70
7.0.10.0630.01314.59
7.0.00.0830.01714.46

preferences:
61.12 ms | 401 KiB | 5 Q