3v4l.org

run code in 300+ PHP versions simultaneously
<?php $operande1 = 5; $operande2 = 10; $operation = "*"; calcul($operande1,$operande2,$operation); function calcul($operande1, $operande2, $operation) { echo $operande1; echo $operande2; echo $operation; eval('$result=('.$operande1.")".$operation."(".$operande2.");"); }

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.01018.20
8.3.50.0080.01121.99
8.3.40.0180.00318.63
8.3.30.0110.00319.08
8.3.20.0030.00520.33
8.3.10.0070.00021.73
8.3.00.0050.00319.38
8.2.180.0110.00716.88
8.2.170.0070.01022.96
8.2.160.0030.01020.32
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0060.00326.16
8.2.120.0080.00022.26
8.2.110.0060.00321.04
8.2.100.0040.00817.78
8.2.90.0080.00022.32
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0080.00017.50
8.2.50.0030.00517.68
8.2.40.0000.00818.05
8.2.30.0040.00417.94
8.2.20.0000.01217.60
8.2.10.0040.00418.04
8.2.00.0040.00417.75
8.1.280.0100.00725.92
8.1.270.0050.00323.95
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0080.00320.62
8.1.230.0080.00421.04
8.1.220.0000.00817.78
8.1.210.0080.00018.88
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00717.64
8.1.160.0040.00421.89
8.1.150.0040.00418.78
8.1.140.0000.00817.40
8.1.130.0000.01017.82
8.1.120.0040.00417.48
8.1.110.0050.00317.49
8.1.100.0040.00417.52
8.1.90.0000.00817.47
8.1.80.0040.00417.48
8.1.70.0070.00017.43
8.1.60.0080.00017.46
8.1.50.0030.00517.54
8.1.40.0040.00417.48
8.1.30.0000.00817.55
8.1.20.0000.00817.57
8.1.10.0020.00517.43
8.1.00.0000.00817.60
8.0.300.0060.00319.98
8.0.290.0050.00316.63
8.0.280.0070.00018.39
8.0.270.0070.00017.14
8.0.260.0000.00817.29
8.0.250.0030.00316.89
8.0.240.0000.00716.98
8.0.230.0000.00717.00
8.0.220.0030.00316.92
8.0.210.0000.00816.87
8.0.200.0040.00317.02
8.0.190.0040.00416.86
8.0.180.0040.00416.82
8.0.170.0050.00316.87
8.0.160.0000.00716.93
8.0.150.0000.00716.86
8.0.140.0000.00816.75
8.0.130.0050.00013.30
8.0.120.0040.00416.86
8.0.110.0000.00716.87
8.0.100.0040.00416.74
8.0.90.0080.00016.75
8.0.80.0060.00916.91
8.0.70.0040.00416.88
8.0.60.0040.00416.75
8.0.50.0050.00216.91
8.0.30.0130.00517.23
8.0.20.0130.00617.40
8.0.10.0040.00416.87
8.0.00.0090.01116.63
7.4.330.0050.00015.00
7.4.320.0040.00416.41
7.4.300.0030.00316.55
7.4.290.0000.00716.56
7.4.280.0060.00316.47
7.4.270.0030.00316.44
7.4.260.0000.00716.35
7.4.250.0040.00416.52
7.4.240.0020.00516.45
7.4.230.0000.00716.31
7.4.220.0170.00016.64
7.4.210.0060.00916.57
7.4.200.0040.00416.69
7.4.160.0130.00316.47
7.4.150.0120.00817.40
7.4.140.0110.00817.86
7.4.130.0080.00816.39
7.4.120.0070.00916.65
7.4.110.0060.01616.57
7.4.100.0030.01516.60
7.4.90.0130.00416.63
7.4.80.0080.01319.39
7.4.70.0100.00716.50
7.4.60.0100.00616.43
7.4.50.0040.00416.44
7.4.40.0120.00416.23
7.4.30.0080.00816.19
7.4.20.0030.01316.35
7.4.10.0080.00816.25
7.4.00.0020.01315.38
7.3.330.0030.00313.15
7.3.320.0000.00613.17
7.3.310.0000.00716.29
7.3.300.0040.00416.30
7.3.290.0170.00316.31
7.3.280.0050.01116.24
7.3.270.0130.00517.40
7.3.260.0030.01516.29
7.3.250.0100.00916.38
7.3.240.0170.00016.43
7.3.230.0030.01416.39
7.3.210.0140.00316.64
7.3.200.0080.00819.39
7.3.190.0130.00616.39
7.3.180.0040.01216.57
7.3.170.0060.01616.61
7.3.160.0000.01516.44
7.3.150.0030.01216.27
7.3.140.0030.01216.58
7.3.130.0040.01416.38
7.3.120.0040.01215.63
7.3.110.0090.01015.58
7.3.100.0070.00915.55
7.3.90.0060.01115.70
7.3.80.0060.00915.70
7.3.70.0070.00915.67
7.3.60.0060.00715.36
7.3.50.0060.00715.24
7.3.40.0080.00815.16
7.3.30.0080.00615.25
7.3.20.0100.00716.57
7.3.10.0080.00516.50
7.3.00.0060.01316.64
7.2.330.0150.00916.55
7.2.320.0070.01116.66
7.2.310.0030.01416.86
7.2.300.0060.01016.52
7.2.290.0100.00716.36
7.2.280.0100.00716.37
7.2.270.0090.00616.27
7.2.260.0100.00716.29
7.2.250.0080.00915.72
7.2.240.0090.00615.85
7.2.230.0050.01215.84
7.2.220.0050.01015.67
7.2.210.0080.01015.66
7.2.200.0080.00815.70
7.2.190.0040.01315.36
7.2.180.0090.00515.39
7.2.170.0060.00915.36
7.2.160.0020.01815.47
7.2.150.0110.00416.72
7.2.140.0130.00216.53
7.2.130.0080.00616.59
7.2.120.0090.01216.73
7.2.110.0100.00616.53
7.2.100.0100.00816.50
7.2.90.0120.01016.42
7.2.80.0120.01116.58
7.2.70.0130.00616.78
7.2.60.0060.00916.63
7.2.50.0070.00616.70
7.2.40.0130.00716.70
7.2.30.0090.01116.52
7.2.20.0200.00816.60
7.2.10.0100.00616.59
7.2.00.0060.00817.53
7.1.330.0170.00515.62
7.1.320.0140.00615.59
7.1.310.0100.01015.59
7.1.300.0130.00515.69
7.1.290.0050.01315.63
7.1.280.0100.00915.64
7.1.270.0100.01115.67
7.1.260.0110.00515.64
7.1.250.0170.00615.53
7.1.240.0210.00515.69
7.1.230.0230.00615.52
7.1.220.0180.00615.65
7.1.210.0190.01115.53
7.1.200.0140.00715.71
7.1.190.0160.00715.64
7.1.180.0170.00615.77
7.1.170.0200.00615.56
7.1.160.0210.01215.57
7.1.150.0180.00615.52
7.1.140.0110.01115.63
7.1.130.0130.01015.70
7.1.120.0160.01115.41
7.1.110.0180.00915.65
7.1.100.0140.00516.16
7.1.90.0180.00715.46
7.1.80.0180.01115.64
7.1.70.0120.00716.09
7.1.60.0160.00616.84
7.1.50.0220.00616.11
7.1.40.0170.01015.70
7.1.30.0110.01415.53
7.1.20.0250.01215.67
7.1.10.0160.01315.60
7.1.00.0110.03217.90
7.0.330.0120.01015.10
7.0.320.0140.01315.31
7.0.310.0180.00915.35
7.0.300.0160.00615.26
7.0.290.0210.00615.39
7.0.280.0160.00915.22
7.0.270.0220.00615.26
7.0.260.0210.00715.22
7.0.250.0210.00715.40
7.0.240.0170.01115.37
7.0.230.0180.01415.46
7.0.220.0190.00315.30
7.0.210.0180.00815.28
7.0.200.0170.00415.52
7.0.190.0160.00915.26
7.0.180.0190.00915.43
7.0.170.0210.00415.31
7.0.160.0160.01015.26
7.0.150.0090.01215.29
7.0.140.0110.03217.70
7.0.130.0140.01015.17
7.0.120.0210.00215.41
7.0.110.0200.00715.45
7.0.100.0150.00715.28
7.0.90.0160.00915.13
7.0.80.0090.01415.29
7.0.70.0180.00315.46
7.0.60.0170.01716.84
7.0.50.0120.02216.20
7.0.40.0150.02016.94
7.0.30.0150.02316.88
7.0.20.0270.02016.15
7.0.10.0140.01717.03
7.0.00.0110.02316.83
5.6.400.0200.01015.20
5.6.390.0180.01215.15
5.6.380.0270.02014.96
5.6.370.0170.00814.94
5.6.360.0150.01215.06
5.6.350.0160.01215.16
5.6.340.0220.00615.17
5.6.330.0160.01115.06
5.6.320.0160.01415.13
5.6.310.0150.01215.00
5.6.300.0150.00915.08
5.6.290.0280.01215.04
5.6.280.0150.02917.12
5.6.270.0130.01015.11
5.6.260.0170.00814.98
5.6.250.0180.00815.13
5.6.240.0110.01514.98
5.6.230.0130.01215.07
5.6.220.0220.00415.14
5.6.210.0120.03216.85
5.6.200.0190.02716.13
5.6.190.0150.01716.83
5.6.180.0180.02516.80
5.6.170.0200.03316.91
5.6.160.0200.02416.84
5.6.150.0130.02016.05
5.6.140.0110.02716.13
5.6.130.0120.02116.04
5.6.120.0080.03917.01
5.6.110.0160.03416.96
5.6.100.0140.03117.17
5.6.90.0180.03016.97
5.6.80.0070.02216.78
5.6.70.0980.01716.79
5.6.60.0110.01315.07
5.6.50.0140.01015.09
5.6.40.0200.00814.96
5.6.30.0150.01314.95
5.6.20.0160.00715.17
5.6.10.0240.00815.06
5.6.00.0130.01515.08
5.5.380.0140.00814.87
5.5.370.0200.00515.06
5.5.360.0170.01115.13
5.5.350.0090.03016.86
5.5.340.0140.02215.94
5.5.330.0070.02516.86
5.5.320.0210.02116.79
5.5.310.0160.02016.83
5.5.300.0140.03215.96
5.5.290.0140.03515.91
5.5.280.0150.01816.87
5.5.270.0150.02916.90
5.5.260.0120.03716.91
5.5.250.0160.02116.79
5.5.240.0200.02816.69
5.5.230.0160.01014.77
5.5.220.0180.00814.78
5.5.210.0190.00714.82
5.5.200.0190.00614.78
5.5.190.0150.00614.83
5.5.180.0200.01114.87
5.5.170.0150.01315.04
5.5.160.0130.01014.82
5.5.150.0240.01414.92
5.5.140.0160.00914.92
5.5.130.0250.00314.97
5.5.120.0160.01015.02
5.5.110.0190.00515.02
5.5.100.0170.01014.91
5.5.90.0170.00814.93
5.5.80.0160.01315.06
5.5.70.0130.01314.73
5.5.60.0170.01214.92
5.5.50.0160.00914.81
5.5.40.0120.01014.79
5.5.30.0160.00714.73
5.5.20.0130.01514.71
5.5.10.0170.00414.78
5.5.00.0210.00514.89
5.4.450.0170.02114.38
5.4.440.0150.02614.34
5.4.430.0150.03114.45
5.4.420.0170.02714.49
5.4.410.0160.01814.23
5.4.400.0160.01814.29
5.4.390.0170.01614.27
5.4.380.0150.02314.29
5.4.370.0170.02314.29
5.4.360.0160.02714.18
5.4.350.0180.02514.22
5.4.340.0190.01714.30
5.4.330.0160.00511.80
5.4.320.0190.02414.21
5.4.310.0180.02514.36
5.4.300.0180.02614.22
5.4.290.0180.02014.27
5.4.280.0150.02314.27
5.4.270.0170.02814.24
5.4.260.0180.01614.17
5.4.250.0130.03114.31
5.4.240.0180.02714.15
5.4.230.0180.01814.24
5.4.220.0160.02714.25
5.4.210.0140.02214.22
5.4.200.0150.01614.22
5.4.190.0120.03014.18
5.4.180.0180.01714.27
5.4.170.0180.02614.26
5.4.160.0130.03014.22
5.4.150.0170.02114.13
5.4.140.0150.01613.32
5.4.130.0160.02713.35
5.4.120.0160.01813.40
5.4.110.0170.01413.34
5.4.100.0130.02013.31
5.4.90.0120.02113.29
5.4.80.0120.03013.41
5.4.70.0130.02113.37
5.4.60.0130.01913.23
5.4.50.0130.02013.29
5.4.40.0140.02813.30
5.4.30.0180.02013.38
5.4.20.0170.02113.33
5.4.10.0160.02013.34
5.4.00.0120.02412.96

preferences:
40.09 ms | 401 KiB | 5 Q