3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'foo'; echo <<<BAR $foo BAR; echo <<<BAR $foo. BAR;

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.4.20.0090.00017.80
8.4.10.0060.00317.77
8.3.140.0050.00318.77
8.3.130.0030.00618.17
8.3.120.0080.00818.80
8.3.110.0000.00820.94
8.3.100.0060.00324.06
8.3.90.0110.00726.77
8.3.80.0090.00018.30
8.3.70.0120.00316.50
8.3.60.0090.00618.14
8.3.50.0120.00217.03
8.3.40.0030.01918.85
8.3.30.0160.00018.85
8.3.20.0090.00020.83
8.3.10.0070.00019.14
8.3.00.0000.00823.58
8.2.260.0140.00416.36
8.2.250.0040.00416.82
8.2.240.0080.00018.79
8.2.230.0100.01022.58
8.2.220.0030.00537.54
8.2.210.0070.01026.77
8.2.200.0000.00916.38
8.2.190.0180.00416.58
8.2.180.0070.01418.17
8.2.170.0150.00622.96
8.2.160.0070.00722.07
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00019.77
8.2.120.0070.00026.35
8.2.110.0060.00322.03
8.2.100.0120.00017.91
8.2.90.0040.00422.32
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0060.00617.38
8.2.50.0020.00517.80
8.2.40.0000.00818.03
8.2.30.0040.00419.34
8.2.20.0000.00917.99
8.2.10.0030.00518.04
8.2.00.0070.00019.50
8.1.310.0110.00718.50
8.1.300.0150.00417.85
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0040.00422.07
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00322.48
8.1.230.0110.00020.96
8.1.220.0000.00817.74
8.1.210.0030.00619.03
8.1.200.0070.00417.35
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0040.00417.62
8.1.160.0040.00418.82
8.1.150.0080.00018.75
8.1.140.0050.00317.55
8.1.130.0030.00318.91
8.1.120.0040.00417.41
8.1.110.0000.00817.36
8.1.100.0000.00717.41
8.1.90.0080.00017.44
8.1.80.0030.00617.41
8.1.70.0040.00417.29
8.1.60.0040.00417.45
8.1.50.0030.00517.44
8.1.40.0000.00817.46
8.1.30.0080.00317.49
8.1.20.0000.00717.51
8.1.10.0060.00317.51
8.1.00.0040.00417.46
8.0.300.0080.00019.89
8.0.290.0070.00016.75
8.0.280.0040.00418.44
8.0.270.0000.00717.16
8.0.260.0030.00317.31
8.0.250.0030.00316.93
8.0.240.0000.00717.04
8.0.230.0030.00317.07
8.0.220.0070.00016.95
8.0.210.0040.00416.91
8.0.200.0000.00617.00
8.0.190.0060.00316.95
8.0.180.0040.00416.93
8.0.170.0090.00016.96
8.0.160.0040.00416.85
8.0.150.0080.00016.86
8.0.140.0070.00016.93
8.0.130.0030.00313.37
8.0.120.0000.00716.82
8.0.110.0000.00716.76
8.0.100.0080.00016.83
8.0.90.0000.00716.95
8.0.80.0140.00216.90
8.0.70.0000.00716.74
8.0.60.0000.00716.92
8.0.50.0040.00416.91
8.0.30.0080.01016.99
8.0.20.0130.01117.40
8.0.10.0000.00817.02
8.0.00.0130.00816.60
7.4.330.0030.00315.55
7.4.320.0040.00416.55
7.4.300.0030.00316.40
7.4.290.0070.00016.36
7.4.280.0050.00316.28
7.4.270.0090.00016.44
7.4.260.0030.00316.44
7.4.250.0030.00316.34
7.4.240.0040.00416.55
7.4.230.0030.00316.36
7.4.220.0030.00516.51
7.4.210.0090.00916.45
7.4.200.0030.00316.54
7.4.160.0110.00616.58
7.4.140.0060.01217.86
7.4.130.0100.00516.45
7.4.120.0110.00916.44
7.4.110.0100.00716.65
7.4.100.0110.00616.44
7.4.90.0120.01216.63
7.4.80.0130.01119.39
7.4.70.0060.01116.53
7.4.60.0140.00316.53
7.4.50.0100.00616.34
7.4.40.0160.00616.60
7.4.10.0070.01014.80
7.4.00.0050.01214.77
7.3.330.0060.00013.14
7.3.320.0050.00013.10
7.3.310.0030.00316.10
7.3.300.0000.00616.26
7.3.290.0030.00316.22
7.3.280.0090.00716.31
7.3.260.0090.00916.46
7.3.240.0100.00716.41
7.3.230.0030.01316.43
7.3.210.0070.01016.59
7.3.200.0060.01616.40
7.3.190.0090.00616.58
7.3.180.0070.00716.43
7.3.170.0060.01116.34
7.3.160.0130.00316.42
7.3.130.0090.00914.82
7.3.120.0110.00414.77
7.3.110.0120.00614.74
7.3.100.0060.01014.54
7.3.90.0060.00614.57
7.3.80.0060.00614.68
7.3.70.0000.01314.58
7.3.60.0000.01114.50
7.3.50.0040.01114.58
7.3.40.0070.00414.79
7.3.30.0030.00814.46
7.3.20.0030.00916.65
7.3.10.0060.00316.49
7.3.00.0040.00416.68
7.2.330.0160.00316.65
7.2.320.0140.00716.39
7.2.310.0130.00316.48
7.2.300.0120.00616.55
7.2.290.0030.02016.46
7.2.260.0070.01114.95
7.2.250.0110.00714.73
7.2.240.0060.00914.95
7.2.230.0070.01014.94
7.2.220.0070.00314.95
7.2.210.0030.00915.11
7.2.200.0000.01414.86
7.2.190.0030.00614.89
7.2.180.0000.00914.60
7.2.170.0040.00814.91
7.2.160.0000.01314.88
7.2.150.0080.00416.63
7.2.140.0080.00816.63
7.2.130.0000.01016.75
7.2.120.0070.00316.74
7.2.110.0000.01716.58
7.2.100.0080.00416.86
7.2.90.0090.00616.79
7.2.80.0070.01016.65
7.2.70.0040.01416.72
7.2.60.1130.00715.37
7.2.50.0880.00915.25
7.2.40.0950.00715.67
7.2.30.0860.00615.69
7.2.20.0860.00715.77
7.2.10.0940.00815.54
7.2.00.0970.00715.77
7.1.330.0030.01015.62
7.1.320.0040.01215.59
7.1.310.0000.01215.45
7.1.300.0000.01115.48
7.1.290.0060.01315.45
7.1.280.0060.00615.59
7.1.270.0050.00515.31
7.1.260.0050.00315.09
7.1.250.0060.00615.48
7.1.240.0040.00415.56
7.1.230.0000.01315.61
7.1.220.0070.00715.71
7.1.210.0040.00415.57
7.1.200.0040.01115.41
7.1.190.0030.01315.66
7.1.180.0040.00415.58
7.1.170.0910.00614.29
7.1.160.0970.00816.44
7.1.150.0890.00516.56
7.1.140.0860.00916.34
7.1.130.1000.01016.38
7.1.120.1040.00916.46
7.1.110.0960.01015.88
7.1.100.1050.00815.99
7.1.90.1030.00715.91
7.1.80.1060.00816.00
7.1.70.0960.00715.25
7.1.60.1200.01128.77
7.1.50.1300.01228.49
7.1.40.1070.01428.21
7.1.30.1110.01228.23
7.1.20.1110.01028.36
7.1.10.0960.01114.80
7.1.00.0970.00914.88
7.0.330.0060.00914.95
7.0.320.0070.00715.16
7.0.310.0110.00415.22
7.0.300.0060.00615.19
7.0.290.0100.00614.99
7.0.280.0030.01015.16
7.0.270.0060.00615.00
7.0.260.0070.00715.28
7.0.250.0040.00715.13
7.0.240.0070.00415.31
7.0.230.0070.00715.16
7.0.220.0080.00415.29
7.0.210.0110.00015.25
7.0.200.0030.00715.24
7.0.190.0000.01215.38
7.0.180.0080.00415.03
7.0.170.0000.01215.25
7.0.160.0000.01315.35
7.0.150.0040.00415.34
7.0.140.0030.00615.24
7.0.130.0030.00915.24
7.0.120.0040.00715.20
7.0.110.0110.00315.38
7.0.100.0030.00715.00
7.0.90.0080.00615.07
7.0.80.0060.00315.11
7.0.70.0030.01315.24
7.0.60.0070.00715.30
7.0.50.0030.00515.41
7.0.40.0030.00913.37
7.0.30.0030.00913.49
7.0.20.0060.00613.40
7.0.10.0060.00313.26
7.0.00.0030.01213.14
5.6.400.0060.00614.04
5.6.390.0050.00314.18
5.6.380.0030.00514.39
5.6.370.0100.00313.99
5.6.360.0060.00614.16
5.6.350.0080.00813.98
5.6.340.0030.01014.38
5.6.330.0130.00313.99
5.6.320.0060.00614.02
5.6.310.0030.00913.88
5.6.300.0030.01014.31
5.6.290.0030.00614.05
5.6.280.0030.01014.02
5.6.270.0000.01414.30
5.6.260.0070.00314.25
5.6.250.0000.01314.16
5.6.240.0060.00614.33
5.6.230.0030.01014.19
5.6.220.0060.00614.20
5.6.210.0060.00314.06
5.6.200.0040.01214.30
5.6.190.0080.00414.30
5.6.180.0000.00914.03
5.6.170.0030.01014.30
5.6.160.0030.01014.19
5.6.150.0030.01014.31
5.6.140.0090.00614.10
5.6.130.0080.00514.47
5.6.120.0040.00414.08
5.6.110.0070.00714.49
5.6.100.0030.01314.15
5.6.90.0070.00414.17
5.6.80.0090.00314.06
5.6.70.0060.00314.28
5.6.60.0040.00814.13
5.6.50.0030.01013.86
5.6.40.0000.01713.92
5.6.30.0040.01114.02
5.6.20.0000.01014.07
5.6.10.0130.00014.00
5.6.00.0060.00313.92

preferences:
23.83 ms | 403 KiB | 5 Q