3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oh_my_sides = 'holy moly im null'; var_dump($oh_my_sides); function foo () { $OH_YEAH = "CANDY"; for( $i = 0; $i < 10; $i++ ) { $OH_YEAH .= $OH_YEAH; } } $oh_my_sides = foo(); var_dump($oh_my_sides);

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.0040.01118.43
8.3.50.0120.01021.20
8.3.40.0120.00418.71
8.3.30.0140.00720.34
8.3.20.0080.00020.35
8.3.10.0030.00522.10
8.3.00.0000.01022.44
8.2.180.0060.01318.16
8.2.170.0120.00322.96
8.2.160.0100.00320.52
8.2.150.0000.00924.18
8.2.140.0100.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00019.44
8.2.110.0110.00021.07
8.2.100.0080.00319.57
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0040.00418.03
8.2.50.0060.00618.10
8.2.40.0100.00218.14
8.2.30.0040.00418.03
8.2.20.0030.00517.77
8.2.10.0040.00417.61
8.2.00.0000.00717.79
8.1.280.0140.00325.92
8.1.270.0060.00324.66
8.1.260.0070.01126.35
8.1.250.0000.00728.09
8.1.240.0030.00719.11
8.1.230.0070.00417.83
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.25
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00422.25
8.1.150.0030.00618.62
8.1.140.0040.00417.44
8.1.130.0030.00617.90
8.1.120.0000.00717.36
8.1.110.0000.00717.43
8.1.100.0040.00417.45
8.1.90.0030.00317.35
8.1.80.0000.00717.43
8.1.70.0040.00417.42
8.1.60.0060.00317.62
8.1.50.0070.00017.51
8.1.40.0040.00417.54
8.1.30.0050.00317.69
8.1.20.0030.00517.68
8.1.10.0060.00317.39
8.1.00.0030.00717.35
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0030.00318.30
8.0.270.0030.00317.23
8.0.260.0080.00016.85
8.0.250.0000.00617.00
8.0.240.0060.00316.87
8.0.230.0060.00016.86
8.0.220.0000.00716.73
8.0.210.0040.00416.84
8.0.200.0030.00316.96
8.0.190.0080.00016.92
8.0.180.0040.00416.88
8.0.170.0030.00616.86
8.0.160.0000.00716.88
8.0.150.0000.00816.84
8.0.140.0030.00516.72
8.0.130.0000.00513.30
8.0.120.0000.00916.71
8.0.110.0040.00416.70
8.0.100.0070.00016.76
8.0.90.0030.00316.71
8.0.80.0130.00716.83
8.0.70.0000.00716.70
8.0.60.0000.00716.71
8.0.50.0000.00716.76
8.0.30.0080.01117.08
8.0.20.0050.01317.40
8.0.10.0000.00716.88
8.0.00.0100.00716.72
7.4.330.0020.00215.00
7.4.320.0050.00216.47
7.4.300.0000.00716.42
7.4.290.0050.00316.59
7.4.280.0080.00016.64
7.4.270.0040.00416.53
7.4.260.0000.00816.49
7.4.250.0070.00016.62
7.4.240.0040.00316.62
7.4.230.0070.00016.48
7.4.220.0100.00716.55
7.4.210.0070.00716.57
7.4.200.0030.00316.71
7.4.190.0000.00716.59
7.4.160.0100.00716.52
7.4.150.0120.01217.40
7.4.140.0180.01717.86
7.4.130.0100.00616.51
7.4.120.0100.00816.48
7.4.110.0120.00616.41
7.4.100.0090.01216.55
7.4.90.0090.01316.46
7.4.80.0060.01219.39
7.4.70.0090.00916.50
7.4.60.0170.02816.63
7.4.50.0080.00016.58
7.4.40.0090.00622.77
7.4.30.0090.00916.67
7.4.00.0040.00414.89
7.3.330.0000.00513.38
7.3.320.0070.00013.41
7.3.310.0030.00316.31
7.3.300.0000.00716.29
7.3.290.0140.00016.33
7.3.280.0070.00816.42
7.3.270.0050.01417.40
7.3.260.0100.01316.81
7.3.250.0100.00616.43
7.3.240.0180.00016.42
7.3.230.0110.00616.56
7.3.210.0130.01016.54
7.3.200.0130.00619.39
7.3.190.0140.00916.46
7.3.180.0130.00316.52
7.3.170.0080.00816.64
7.3.160.0040.01316.49
7.3.120.0030.00914.71
7.2.330.0110.00716.70
7.2.320.0060.01216.69
7.2.310.0070.01516.55
7.2.300.0100.00716.66
7.2.290.0070.01016.49
7.2.60.0000.01416.98
7.2.00.0000.01319.39
7.1.200.0040.01215.86
7.1.100.0060.00618.21
7.1.70.0000.00917.19
7.1.60.0110.01419.43
7.1.50.0070.01616.89
7.1.00.0030.03322.45
7.0.200.0050.00516.66
7.0.140.0030.06722.04
7.0.60.0100.08719.93
7.0.50.0070.05018.00
7.0.40.0030.05320.09
7.0.30.0370.06720.15
7.0.20.0300.08020.30
7.0.10.0200.04320.30
7.0.00.0070.08720.32
5.6.280.0130.06321.12
5.6.210.0030.08320.63
5.6.200.0130.07718.18
5.6.190.0130.06020.66
5.6.180.0200.08020.46
5.6.170.0530.06720.45
5.6.160.0100.06720.45
5.6.150.0070.06018.15
5.6.140.0130.04718.17
5.6.130.0070.03718.24
5.6.120.0030.08721.02
5.6.110.0070.04020.96
5.6.100.0000.08721.05
5.6.90.0130.06720.97
5.6.80.0230.05720.51
5.5.350.0070.08320.43
5.5.340.0030.08717.96
5.5.330.0100.05320.27
5.5.320.0200.07720.34
5.5.310.0300.07320.24
5.5.300.0100.06017.95
5.5.290.0030.05718.08
5.5.280.0070.07320.70
5.5.270.0130.07320.79
5.5.260.0100.07720.84
5.5.250.0100.03720.49
5.5.240.0070.05320.24
5.4.450.0830.05319.71
5.4.440.0100.07319.70
5.4.430.0130.06319.46
5.4.420.0430.05719.58
5.4.410.0200.05019.42
5.4.400.0500.05318.50
5.4.390.0630.05718.52
5.4.380.0170.05718.50
5.4.370.0170.04718.62
5.4.360.0230.04018.49
5.4.350.0090.04112.02
5.4.340.0080.04112.02
5.4.320.0060.03712.51
5.4.310.0060.03712.50
5.4.300.0050.04312.50
5.4.290.0070.04912.50
5.4.280.0090.04012.40
5.4.270.0050.03612.40
5.4.260.0030.04012.40
5.4.250.0170.07718.97
5.4.240.0070.05718.91
5.4.230.0170.05718.81
5.4.220.0170.05318.79
5.4.210.0130.05718.77
5.4.200.0200.04019.02
5.4.190.0100.05018.94
5.4.180.0030.05719.02
5.4.170.0170.04318.76
5.4.160.0070.05318.95
5.4.150.0130.05318.78
5.4.140.0130.05016.59
5.4.130.0030.07716.31
5.4.120.0070.06716.40
5.4.110.0130.05016.53
5.4.100.0070.05016.51
5.4.90.0070.06316.56
5.4.80.0000.07716.51
5.4.70.0130.07016.32
5.4.60.0100.04716.39
5.4.50.0000.06016.38
5.4.40.0100.05316.57
5.4.30.0070.05316.58
5.4.20.0200.05316.49
5.4.10.0100.05716.62
5.4.00.0100.06715.84
5.3.290.0080.04512.80
5.3.280.0130.06314.73
5.3.270.0100.06714.50
5.3.260.0030.05714.73
5.3.250.0030.07014.76
5.3.240.0100.04714.60
5.3.230.0230.05714.59
5.3.220.0070.05314.64
5.3.210.0130.05014.55
5.3.200.0070.04714.64
5.3.190.0070.05314.63
5.3.180.0130.07314.63
5.3.170.0230.04314.55
5.3.160.0100.06714.65
5.3.150.0170.05714.58
5.3.140.0070.07014.63
5.3.130.0100.06014.53
5.3.120.0130.05014.63
5.3.110.0100.07714.63
5.3.100.0000.08314.19
5.3.90.0070.06314.11
5.3.80.0100.06014.04
5.3.70.0070.06014.10
5.3.60.0170.06013.98
5.3.50.0070.06014.17
5.3.40.0100.05714.11
5.3.30.0100.05713.88
5.3.20.0070.05713.77
5.3.10.0130.05713.64
5.3.00.0030.05713.63
5.2.170.0070.04010.97
5.2.160.0000.04711.09
5.2.150.0200.03310.97
5.2.140.0030.04711.22
5.2.130.0030.04311.16
5.2.120.0100.04011.26
5.2.110.0030.04011.16
5.2.100.0070.04011.10
5.2.90.0030.04011.10
5.2.80.0130.04711.17
5.2.70.0130.03311.17
5.2.60.0070.04011.04
5.2.50.0030.04311.11
5.2.40.0130.04311.09
5.2.30.0030.04311.04
5.2.20.0030.04010.86
5.2.10.0100.05010.76
5.2.00.0070.04010.67
5.1.60.0130.04310.20
5.1.50.0030.03310.09
5.1.40.0000.03710.02
5.1.30.0030.03710.32
5.1.20.0070.03310.43
5.1.10.0070.03310.12
5.1.00.0030.05310.16
5.0.50.0070.0238.74
5.0.40.0000.0308.45
5.0.30.0030.0438.29
5.0.20.0030.0278.43
5.0.10.0070.0278.13
5.0.00.0070.0508.38
4.4.90.0070.0277.38
4.4.80.0070.0277.38
4.4.70.0030.0207.38
4.4.60.0030.0307.38
4.4.50.0030.0237.38
4.4.40.0030.0337.38
4.4.30.0070.0207.38
4.4.20.0030.0277.38
4.4.10.0030.0237.38
4.4.00.0030.0377.38
4.3.110.0000.0237.38
4.3.100.0030.0207.38
4.3.90.0000.0337.38
4.3.80.0070.0407.38
4.3.70.0000.0237.38
4.3.60.0070.0177.38
4.3.50.0070.0177.38
4.3.40.0030.0307.38
4.3.30.0070.0177.38
4.3.20.0000.0237.38
4.3.10.0030.0207.38
4.3.00.0130.0235.71

preferences:
38.02 ms | 401 KiB | 5 Q