3v4l.org

run code in 300+ PHP versions simultaneously
<?php function yourMom(){ echo "Your mom "; } function isSoFat(){ echo "is so fat..."; } $array = array("yourMom", "isSoFat"); foreach($array as $funt) $funct();

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.70.0070.00716.75
8.3.60.0070.01116.48
8.3.50.0140.00521.09
8.3.40.0100.00718.71
8.3.30.0140.00718.54
8.3.20.0090.00020.33
8.3.10.0000.00821.72
8.3.00.0000.00823.66
8.2.190.0030.01716.75
8.2.180.0120.00418.29
8.2.170.0040.01122.96
8.2.160.0180.00420.47
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0050.00321.02
8.2.120.0050.00326.35
8.2.110.0070.00321.00
8.2.100.0090.00317.93
8.2.90.0000.00819.21
8.2.80.0000.00817.97
8.2.70.0030.00717.63
8.2.60.0040.00418.04
8.2.50.0030.00818.09
8.2.40.0040.00422.37
8.2.30.0040.00419.48
8.2.20.0000.00919.59
8.2.10.0040.00418.05
8.2.00.0040.00418.01
8.1.280.0080.00825.92
8.1.270.0120.00622.20
8.1.260.0090.00928.09
8.1.250.0040.01428.09
8.1.240.0090.00022.47
8.1.230.0000.01120.84
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0080.00017.48
8.1.190.0050.00317.25
8.1.180.0030.00618.10
8.1.170.0000.01118.31
8.1.160.0000.00720.79
8.1.150.0000.00718.75
8.1.140.0040.00419.57
8.1.130.0040.00417.73
8.1.120.0070.00317.44
8.1.110.0040.00317.34
8.1.100.0000.00717.39
8.1.90.0040.00417.43
8.1.80.0030.00717.33
8.1.70.0030.00517.44
8.1.60.0040.00417.57
8.1.50.0030.00517.48
8.1.40.0070.00417.50
8.1.30.0030.00517.53
8.1.20.0000.00817.49
8.1.10.0080.00017.57
8.1.00.0000.00717.50
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0070.00018.45
8.0.270.0030.00317.25
8.0.260.0030.00317.24
8.0.250.0060.00016.94
8.0.240.0050.00317.05
8.0.230.0000.00716.91
8.0.220.0040.00416.86
8.0.210.0030.00416.91
8.0.200.0030.00317.02
8.0.190.0000.00717.02
8.0.180.0070.00016.95
8.0.170.0070.00016.89
8.0.160.0050.00516.89
8.0.150.0000.00816.89
8.0.140.0040.00416.95
8.0.130.0030.00313.33
8.0.120.0030.00516.82
8.0.110.0000.00716.97
8.0.100.0030.00316.98
8.0.90.0000.00816.77
8.0.80.0150.00016.90
8.0.70.0040.00416.80
8.0.60.0000.00717.01
8.0.50.0000.00716.93
8.0.30.0100.00717.01
8.0.20.0110.00817.40
8.0.10.0050.00317.12
8.0.00.0100.00716.71
7.4.330.0020.00216.66
7.4.320.0000.00616.50
7.4.300.0070.00016.39
7.4.290.0000.00716.59
7.4.280.0080.00016.39
7.4.270.0030.00316.42
7.4.260.0070.00016.55
7.4.250.0030.00316.39
7.4.240.0030.00316.54
7.4.230.0000.00716.57
7.4.220.0080.00916.61
7.4.210.0080.00616.59
7.4.200.0070.00016.38
7.4.160.0040.01216.55
7.4.150.0150.00317.40
7.4.140.0090.01217.86
7.4.130.0110.00816.50
7.4.120.0090.00916.60
7.4.110.0100.00716.54
7.4.100.0100.00716.69
7.4.90.0140.00316.54
7.4.80.0090.00919.39
7.4.70.0070.01016.67
7.4.60.0040.01216.43
7.4.50.0060.00616.69
7.4.40.0140.00716.44
7.4.30.0080.00816.56
7.4.00.0040.01114.77
7.3.330.0030.00313.18
7.3.320.0060.00013.20
7.3.310.0030.00316.36
7.3.300.0060.00016.23
7.3.290.0040.00416.32
7.3.280.0100.00816.35
7.3.270.0180.00017.40
7.3.260.0090.00916.36
7.3.250.0090.00816.35
7.3.240.0130.00416.38
7.3.230.0140.00616.67
7.3.210.0080.00916.64
7.3.200.0160.00619.39
7.3.190.0120.00916.39
7.3.180.0060.01216.42
7.3.170.0050.01016.50
7.3.160.0080.00816.55
7.2.330.0090.00916.72
7.2.320.0120.00616.48
7.2.310.0120.00716.40
7.2.300.0100.01416.68
7.2.290.0060.01316.68
7.2.80.0100.00016.69
7.2.60.0070.01017.02
7.2.00.0070.00719.48
7.1.200.0040.00815.80
7.1.100.0100.00317.82
7.1.70.0040.00716.97
7.1.60.0060.01919.40
7.1.50.0070.00716.77
7.1.00.0070.07322.32
7.0.200.0000.00816.75
7.0.60.0170.04320.02
7.0.50.0070.03717.89
7.0.40.0070.04720.14
7.0.30.0430.04720.30
7.0.20.0370.07720.10
7.0.10.0030.08020.09
7.0.00.0070.08320.07
5.6.280.0030.06720.86
5.6.210.0000.04320.63
5.6.200.0030.06318.12
5.6.190.0000.04720.61
5.6.180.0230.08020.54
5.6.170.0200.03720.55
5.6.160.0070.05020.70
5.6.150.0100.03718.26
5.6.140.0070.08318.14
5.6.130.0070.08718.14
5.6.120.0100.08021.04
5.6.110.0100.08720.99
5.6.100.0170.07320.96
5.6.90.0070.08020.99
5.6.80.0130.07720.41
5.5.350.3600.03720.39
5.5.340.0130.07017.95
5.5.330.0030.06720.40
5.5.320.0630.06320.36
5.5.310.0200.03720.26
5.5.300.0100.06317.99
5.5.290.0200.06317.99
5.5.280.0030.09020.77
5.5.270.0100.04020.79
5.5.260.0100.03720.96
5.5.250.0100.07720.70
5.5.240.0100.04320.19

preferences:
55.3 ms | 401 KiB | 5 Q