3v4l.org

run code in 300+ PHP versions simultaneously
<?php $children = 1; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er'); $children = 2; echo '\n' . $children . ' Kind' . ($children !== 1 ?: 'er');

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.0070.00718.43
8.3.50.0090.00616.06
8.3.40.0110.00418.39
8.3.30.0070.00718.71
8.3.20.0030.00619.02
8.3.10.0000.00821.89
8.3.00.0000.00919.29
8.2.180.0140.00016.38
8.2.170.0070.00722.96
8.2.160.0060.01320.44
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00020.52
8.2.120.0070.00026.35
8.2.110.0100.00021.98
8.2.100.0160.00017.57
8.2.90.0030.00619.13
8.2.80.0090.00018.04
8.2.70.0080.00017.38
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0090.00022.15
8.2.30.0000.00921.04
8.2.20.0050.00317.94
8.2.10.0000.00818.05
8.2.00.0040.00418.03
8.1.280.0040.01125.92
8.1.270.0040.00422.14
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00523.92
8.1.230.0070.00422.25
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0090.00017.13
8.1.190.0000.00917.22
8.1.180.0040.00418.10
8.1.170.0080.00018.66
8.1.160.0040.00418.91
8.1.150.0050.00318.77
8.1.140.0000.00719.47
8.1.130.0000.00718.93
8.1.120.0000.00817.37
8.1.110.0000.00817.50
8.1.100.0030.00617.35
8.1.90.0030.00317.45
8.1.80.0080.00017.48
8.1.70.0070.00017.34
8.1.60.0060.00317.54
8.1.50.0050.00317.36
8.1.40.0060.00617.45
8.1.30.0070.00017.66
8.1.20.0000.00817.55
8.1.10.0040.00417.41
8.1.00.0000.00717.41
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0040.00418.43
8.0.270.0000.00717.25
8.0.260.0080.00016.88
8.0.250.0030.00316.91
8.0.240.0060.00316.98
8.0.230.0000.00716.86
8.0.220.0060.00016.91
8.0.210.0070.00016.77
8.0.200.0030.00316.84
8.0.190.0040.00416.90
8.0.180.0000.00716.92
8.0.170.0000.00716.84
8.0.160.0070.00016.91
8.0.150.0000.00716.75
8.0.140.0040.00316.82
8.0.130.0030.00313.27
8.0.120.0050.00316.73
8.0.110.0000.00816.83
8.0.100.0040.00416.95
8.0.90.0080.00016.99
8.0.80.0120.00916.88
8.0.70.0040.00416.72
8.0.60.0030.00516.93
8.0.50.0020.00516.76
8.0.30.0090.00617.04
8.0.20.0140.00617.40
8.0.10.0000.00817.07
8.0.00.0070.01516.77
7.4.330.0000.00415.55
7.4.320.0060.00016.47
7.4.300.0000.00616.46
7.4.290.0070.00016.40
7.4.280.0040.00416.60
7.4.270.0060.00016.60
7.4.260.0000.00613.32
7.4.250.0030.00316.60
7.4.240.0030.00316.52
7.4.230.0040.00416.61
7.4.220.0170.00016.64
7.4.210.0060.00816.54
7.4.200.0030.00316.68
7.4.160.0050.01416.47
7.4.150.0070.01017.40
7.4.140.0080.00917.86
7.4.130.0100.01016.47
7.4.120.0060.01216.50
7.4.110.0090.00916.51
7.4.100.0040.01316.63
7.4.90.0100.00716.48
7.4.80.0160.01019.39
7.4.70.0120.00616.44
7.4.60.0060.01016.25
7.4.50.0030.01216.39
7.4.40.0100.00716.43
7.4.30.0040.01816.52
7.4.00.0030.01314.79
7.3.330.0030.00413.08
7.3.320.0050.00013.22
7.3.310.0030.00316.32
7.3.300.0030.00316.23
7.3.290.0030.00516.32
7.3.280.0080.00916.30
7.3.270.0110.00617.40
7.3.260.0070.01316.38
7.3.250.0110.00816.51
7.3.240.0100.00616.40
7.3.230.0110.00616.32
7.3.210.0100.01116.30
7.3.200.0110.00516.22
7.3.190.0030.01316.75
7.3.180.0120.00616.61
7.3.170.0090.00916.48
7.3.160.0180.00616.38
7.3.10.0000.00916.43
7.3.00.0120.00316.21
7.2.330.0120.00616.55
7.2.320.0100.00716.70
7.2.310.0060.01116.68
7.2.300.0090.01416.64
7.2.290.0080.00916.69
7.2.130.0140.00616.31
7.2.120.0060.00316.44
7.2.110.0060.00316.73
7.2.100.0060.00616.59
7.2.90.0080.00316.67
7.2.80.0000.01416.78
7.2.70.0130.00616.71
7.2.60.0050.01216.65
7.2.50.0090.00616.66
7.2.40.0060.01316.54
7.2.30.0210.00716.54
7.2.20.0170.00316.81
7.2.10.0060.01316.86
7.2.00.0040.01218.02
7.1.250.0150.00015.49
7.1.200.0000.01515.84
7.1.100.0040.01118.19
7.1.70.0630.01315.36
7.1.60.0200.02033.32
7.1.50.0400.02033.04
7.1.40.5030.02332.56
7.1.30.5870.02032.52
7.1.20.0330.01032.81
7.1.10.0000.01714.63
7.1.00.0130.02014.71
7.0.200.0030.01314.91
7.0.190.0130.00714.90
7.0.180.0070.01014.43
7.0.170.4730.01014.57
7.0.160.0030.01314.46
7.0.150.0000.02014.63
7.0.140.0130.00714.39
7.0.130.4800.01314.55
7.0.120.0330.01014.60
7.0.110.4430.01714.20
7.0.100.0070.01314.48
7.0.90.0070.01314.43
7.0.80.0070.01314.30
7.0.70.3900.01714.54
7.0.60.3700.01314.13
7.0.50.0070.01014.54
7.0.40.3230.02014.86
7.0.30.0130.01014.64
7.0.20.0100.01014.80
7.0.10.4900.00714.52
7.0.00.0130.01314.48

preferences:
56.29 ms | 401 KiB | 5 Q