3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(&$foo) { var_dump($foo); } $bar = new StdClass; $bar->foo = 'foo'; foo($foo);

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.88
8.3.50.0030.01116.61
8.3.40.0040.01118.71
8.3.30.0090.00618.54
8.3.20.0040.00420.20
8.3.10.0040.00423.66
8.3.00.0080.00021.97
8.2.180.0100.01016.34
8.2.170.0060.00922.96
8.2.160.0060.01218.79
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0050.00221.13
8.2.120.0040.00426.35
8.2.110.0100.00020.99
8.2.100.0040.00817.94
8.2.90.0050.00319.08
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0060.00317.93
8.2.50.0000.00918.10
8.2.40.0040.00420.55
8.2.30.0090.00020.88
8.2.20.0040.00417.99
8.2.10.0000.00818.04
8.2.00.0040.00417.98
8.1.280.0100.00725.92
8.1.270.0000.00722.04
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00623.80
8.1.230.0040.00719.01
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0080.00017.11
8.1.180.0080.00018.10
8.1.170.0000.00818.96
8.1.160.0040.00419.08
8.1.150.0040.00418.76
8.1.140.0030.00719.57
8.1.130.0050.00218.76
8.1.120.0000.00717.38
8.1.110.0050.00217.38
8.1.100.0040.00417.40
8.1.90.0040.00417.36
8.1.80.0040.00417.41
8.1.70.0000.00717.48
8.1.60.0040.00417.65
8.1.50.0050.00317.54
8.1.40.0030.00517.52
8.1.30.0000.00717.65
8.1.20.0050.00217.70
8.1.10.0050.00317.58
8.1.00.0070.00017.53
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00518.43
8.0.270.0000.00717.16
8.0.260.0030.00316.64
8.0.250.0030.00316.80
8.0.240.0000.00716.77
8.0.230.0000.00716.88
8.0.220.0030.00316.85
8.0.210.0030.00316.76
8.0.200.0060.00016.88
8.0.190.0030.00616.95
8.0.180.0110.00016.70
8.0.170.0070.00016.79
8.0.160.0000.00716.91
8.0.150.0000.00716.75
8.0.140.0000.00716.81
8.0.130.0030.00313.18
8.0.120.0000.00716.71
8.0.110.0030.00316.80
8.0.100.0000.00716.66
8.0.90.0080.00016.63
8.0.80.0070.01116.84
8.0.70.0050.00216.82
8.0.60.0080.00016.87
8.0.50.0000.00816.88
8.0.30.0090.00916.99
8.0.20.0130.00717.40
8.0.10.0070.00016.89
8.0.00.0070.01016.69
7.4.330.0030.00315.55
7.4.320.0000.00616.59
7.4.300.0000.00616.61
7.4.290.0000.00716.51
7.4.280.0070.00016.59
7.4.270.0030.00316.53
7.4.260.0030.00316.46
7.4.250.0000.00716.46
7.4.240.0030.00516.51
7.4.230.0000.00716.63
7.4.220.0090.00916.63
7.4.210.0120.00516.47
7.4.200.0000.00716.50
7.4.160.0030.01316.54
7.4.150.0150.00417.40
7.4.140.0110.00517.86
7.4.130.0100.00716.53
7.4.120.0130.00616.49
7.4.110.0060.01016.46
7.4.100.0070.01116.55
7.4.90.0100.00716.29
7.4.80.0120.00619.39
7.4.70.0080.00816.46
7.4.60.0100.00616.41
7.4.50.0080.00816.32
7.4.40.0040.01816.51
7.4.30.0100.00616.31
7.4.10.0090.00914.71
7.4.00.0100.00614.89
7.3.330.0060.00013.16
7.3.320.0000.00613.26
7.3.310.0030.00316.13
7.3.300.0000.00616.16
7.3.290.0040.00416.26
7.3.280.0080.00916.21
7.3.270.0140.00417.40
7.3.260.0080.01216.39
7.3.250.0080.01216.21
7.3.240.0060.01316.24
7.3.230.0000.02316.59
7.3.210.0140.00316.21
7.3.200.0120.00616.48
7.3.190.0090.00616.23
7.3.180.0130.00316.45
7.3.170.0060.00916.42
7.3.160.0040.01216.21
7.3.130.0180.00014.64
7.3.120.0090.00914.88
7.3.110.0110.00714.86
7.3.100.0070.00714.79
7.3.90.0030.01014.75
7.3.80.0000.01114.91
7.3.70.0060.01014.86
7.3.60.0040.00814.49
7.3.50.0000.00914.49
7.3.40.0030.00614.64
7.3.30.0000.01414.63
7.3.20.0090.00316.30
7.3.10.0050.00916.61
7.3.00.0030.00916.62
7.2.330.0100.00716.39
7.2.320.0060.01516.66
7.2.310.0080.00816.57
7.2.300.0060.01016.70
7.2.290.0180.00716.28
7.2.260.0070.01014.97
7.2.250.0110.00715.14
7.2.240.0040.01115.20
7.2.230.0000.01515.05
7.2.220.0060.00314.89
7.2.210.0040.00815.09
7.2.200.0030.01014.62
7.2.190.0060.01014.67
7.2.180.0070.00715.12
7.2.170.0100.00314.98
7.2.160.0040.01115.02
7.2.150.0070.00416.91
7.2.140.0030.01316.69
7.2.130.0070.00916.77
7.2.120.0020.01216.84
7.2.110.0050.00716.90
7.2.100.0060.00616.84
7.2.90.0080.00516.67
7.2.80.0000.01416.80
7.2.70.0050.00716.84
7.2.60.0070.00916.95
7.2.50.0080.00616.92
7.2.40.0100.00116.77
7.2.30.0020.01216.80
7.2.20.0050.00916.78
7.2.10.0060.00616.84
7.2.00.0070.00717.57
7.1.330.0000.01115.57
7.1.320.0090.00015.87
7.1.310.0030.00915.49
7.1.300.0070.00715.64
7.1.290.0030.00515.60
7.1.280.0030.00815.60
7.1.270.0030.01015.77
7.1.260.0070.00715.54
7.1.250.0050.00715.60
7.1.240.0050.00315.75
7.1.230.0070.00715.73
7.1.220.0000.01515.73
7.1.210.0000.01015.73
7.1.200.0070.00715.68
7.1.190.0110.00015.48
7.1.180.0120.00315.51
7.1.170.0030.00915.47
7.1.160.0120.00015.64
7.1.150.0000.01115.78
7.1.140.0070.00415.55
7.1.130.0070.00715.55
7.1.120.0030.00915.67
7.1.110.0100.00015.43
7.1.100.0040.00616.77
7.1.90.0120.00315.59
7.1.80.0100.00615.80
7.1.70.0190.00615.50
7.1.60.0300.01124.59
7.1.50.0340.01324.43
7.1.40.0290.01124.07
7.1.30.0290.01124.22
7.1.20.0270.00524.21
7.1.10.0150.00515.18
7.1.00.0180.00815.25
7.0.330.0040.00715.58
7.0.320.0000.00815.39
7.0.310.0030.00715.55
7.0.300.0060.00615.29
7.0.290.0100.00315.52
7.0.280.0050.00315.33
7.0.270.0000.01015.43
7.0.260.0070.00715.28
7.0.250.0070.00715.58
7.0.240.0030.01015.38
7.0.230.0110.00415.43
7.0.220.0100.00315.14
7.0.210.0060.00315.00
7.0.200.0260.00715.07
7.0.190.0280.01014.99
7.0.180.0120.00914.88
7.0.170.0250.00814.91
7.0.160.0170.00614.93
7.0.150.0170.00714.83
7.0.140.0170.00614.92
7.0.130.0150.00815.13
7.0.120.0140.00515.00
7.0.110.0210.01015.03
7.0.100.0220.00514.88
7.0.90.0600.00614.89
7.0.80.0130.01114.89
7.0.70.0190.00814.78
7.0.60.0170.00814.75
7.0.50.0190.00315.01
7.0.40.0160.00814.00
7.0.30.0180.00514.01
7.0.20.0230.00813.98
7.0.10.0200.00714.04
7.0.00.0170.00813.89
5.6.400.0070.01114.32
5.6.390.0030.00914.36
5.6.380.0100.00714.57
5.6.370.0030.00614.24
5.6.360.0090.00614.60
5.6.350.0070.00714.09
5.6.340.0090.00614.25
5.6.330.0030.01014.32
5.6.320.0040.00414.70
5.6.310.0040.00814.53
5.6.300.0000.01114.63
5.6.290.0040.00814.50
5.6.280.0040.01114.19
5.6.270.0030.01014.32
5.6.260.0040.00914.40
5.6.250.0030.00714.66
5.6.240.0090.00314.43
5.6.230.0000.01314.32
5.6.220.0070.00714.29
5.6.210.0100.00714.10
5.6.200.0050.00314.35
5.6.190.0040.00414.25
5.6.180.0040.01114.40
5.6.170.0000.01114.36
5.6.160.0100.00314.29
5.6.150.0110.00314.64
5.6.140.0040.01114.27
5.6.130.0000.01014.40
5.6.120.0030.01014.43
5.6.110.0000.01314.06
5.6.100.0030.00914.27
5.6.90.0090.00614.39
5.6.80.0040.00714.18
5.6.70.0060.00614.13
5.6.60.0030.00614.26
5.6.50.0080.00314.72
5.6.40.0070.00714.25
5.6.30.0070.00714.24
5.6.20.0040.00814.27
5.6.10.0030.01014.13
5.6.00.0100.00714.21

preferences:
41.41 ms | 401 KiB | 5 Q