3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo str_random(32);

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.0060.00317.98
8.4.10.0120.00817.50
8.3.150.0110.00719.19
8.3.140.0040.01120.81
8.3.130.0080.00018.50
8.3.120.0040.00418.98
8.3.110.0060.00320.94
8.3.100.0140.00324.06
8.3.90.0000.00818.34
8.3.80.0060.00318.31
8.3.70.0130.00716.75
8.3.60.0080.00816.63
8.3.50.0110.00721.20
8.3.40.0110.00418.66
8.3.30.0100.00318.57
8.3.20.0050.00320.23
8.3.10.0040.00423.61
8.3.00.0080.00019.81
8.2.270.0070.01116.67
8.2.260.0040.01116.67
8.2.250.0100.00718.38
8.2.240.0140.00417.24
8.2.230.0050.00322.58
8.2.220.0040.00437.54
8.2.210.0030.00526.77
8.2.200.0090.00316.88
8.2.190.0170.00316.63
8.2.180.0060.00918.17
8.2.170.0100.00322.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00417.38
8.2.110.0040.00419.03
8.2.100.0080.00317.72
8.2.90.0080.00019.22
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0030.00618.05
8.2.20.0040.00417.54
8.2.10.0000.00717.98
8.2.00.0070.00018.04
8.1.310.0120.00616.50
8.1.300.0060.00318.17
8.1.290.0090.00018.88
8.1.280.0090.00625.92
8.1.270.0080.00623.92
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00020.87
8.1.230.0040.00722.20
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.25
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0000.00818.45
8.1.160.0050.00318.75
8.1.150.0050.00218.79
8.1.140.0000.00819.48
8.1.130.0030.00517.63
8.1.120.0040.00417.27
8.1.110.0050.00317.22
8.1.100.0040.00417.34
8.1.90.0040.00417.29
8.1.80.0040.00417.27
8.1.70.0070.00017.35
8.1.60.0000.00717.33
8.1.50.0050.00317.30
8.1.40.0030.00517.42
8.1.30.0050.00317.57
8.1.20.0060.00317.59
8.1.10.0030.00617.45
8.1.00.0060.00317.41
8.0.300.0030.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00818.25
8.0.270.0030.00317.22
8.0.260.0000.00617.05
8.0.250.0000.00816.88
8.0.240.0000.00716.83
8.0.230.0030.00316.82
8.0.220.0030.00316.87
8.0.210.0000.00716.89
8.0.200.0030.00316.85
8.0.190.0050.00316.91
8.0.180.0000.00816.86
8.0.170.0000.00716.81
8.0.160.0000.00717.00
8.0.150.0000.00716.75
8.0.140.0050.00316.83
8.0.130.0060.00013.26
8.0.120.0030.00516.75
8.0.110.0080.00016.82
8.0.100.0070.00016.81
8.0.90.0050.00316.79
8.0.80.0110.00416.85
8.0.70.0000.00716.88
8.0.60.0000.00716.91
8.0.50.0000.00816.70
8.0.30.0120.00817.00
8.0.20.0090.00917.40
8.0.10.0020.00516.89
8.0.00.0110.00716.68
7.4.330.0000.00515.08
7.4.320.0000.00616.45
7.4.300.0000.00616.41
7.4.290.0000.00716.44
7.4.280.0050.00216.41
7.4.270.0000.00716.41
7.4.260.0070.00016.34
7.4.250.0050.00316.47
7.4.240.0000.00716.47
7.4.230.0030.00316.59
7.4.220.0090.01216.35
7.4.210.0060.00916.52
7.4.200.0000.00716.33
7.4.160.0060.00916.60
7.4.150.0070.01017.40
7.4.140.0120.00817.86
7.4.130.0050.01216.52
7.4.120.0100.00716.42
7.4.110.0090.00916.62
7.4.100.0070.01616.40
7.4.90.0060.01316.40
7.4.80.0040.00319.39
7.4.70.0030.01416.43
7.4.60.0030.01316.54
7.4.50.0000.00416.36
7.4.40.0060.01016.46
7.4.30.0060.01816.29
7.4.00.0070.01014.66
7.3.330.0000.00512.98
7.3.320.0030.00313.04
7.3.310.0040.00416.36
7.3.300.0030.00316.21
7.3.290.0070.01116.24
7.3.280.0060.01116.30
7.3.270.0070.01017.40
7.3.260.0140.00416.27
7.3.250.0110.00616.38
7.3.240.0150.00616.31
7.3.230.0140.00316.51
7.3.210.0070.01016.28
7.3.200.0000.01616.35
7.3.190.0060.01116.48
7.3.180.0000.01716.21
7.3.170.0120.00316.48
7.3.160.0100.00916.30
7.2.330.0130.01016.30
7.2.320.0040.01416.53
7.2.310.0170.01016.44
7.2.300.0070.01116.25
7.2.290.0140.00616.59
7.2.100.2500.00614.45
7.2.90.2970.00614.50
7.2.80.2090.01014.45
7.2.70.2320.01314.77
7.2.60.1800.00715.82
7.2.50.4570.01614.92
7.2.40.3050.01314.91
7.2.30.1760.00916.47
7.2.20.1460.00916.32
7.2.10.0320.01216.25
7.2.00.0490.01117.26
7.1.220.2520.01013.52
7.1.210.3290.00713.43
7.1.200.1620.00814.55
7.1.190.2630.00613.71
7.1.180.3510.00613.53
7.1.170.3020.01013.80
7.1.160.0610.00313.51
7.1.150.1000.01015.10
7.1.140.0930.00915.03
7.1.130.1680.00815.07
7.1.120.1720.00914.94
7.1.110.0500.00714.94
7.1.100.0420.01314.86
7.1.90.1060.00814.58
7.1.80.0280.01015.86
7.1.70.0070.00915.29
7.1.60.0610.01633.25
7.1.50.0570.01332.77
7.1.40.0550.01932.81
7.1.30.0580.01032.85
7.1.20.0690.01032.74
7.1.10.0430.01114.77
7.1.00.0320.01014.92
7.0.310.3230.00313.42
7.0.300.3280.00913.34
7.0.290.3130.00313.39
7.0.280.1060.00313.38
7.0.270.0140.00815.00
7.0.260.1350.01014.84
7.0.250.1490.01214.77
7.0.240.0810.00714.64
7.0.230.1010.01414.68
7.0.220.0900.00814.62
7.0.210.0930.00914.08
7.0.200.0570.00814.98
7.0.190.0540.01114.88
7.0.180.0410.00914.66
7.0.170.0500.01114.58
7.0.160.0460.01014.56
7.0.150.0400.01114.61
7.0.140.0360.01014.78
7.0.130.0360.01314.84
7.0.120.0380.01214.70
7.0.110.0400.01314.68
7.0.100.0320.01314.71
7.0.90.0350.01314.60
7.0.80.0530.01414.70
7.0.70.0340.01014.69
7.0.60.0440.01114.38
7.0.50.0250.01214.75
7.0.40.0250.01014.79
7.0.30.0490.01014.84
7.0.20.0270.01014.81
7.0.10.0270.01214.77
7.0.00.0370.00814.71
5.6.380.0090.00914.34
5.6.370.0130.01014.22
5.6.360.0130.00813.99
5.6.350.0060.01414.29
5.6.340.0090.00714.17
5.6.330.0130.01013.86
5.6.320.0170.00614.16
5.6.310.0190.00314.02
5.6.300.0210.04518.39
5.6.290.0170.04918.58
5.6.280.0160.04818.60
5.6.270.0140.05118.57
5.6.260.0170.05318.53
5.6.250.0160.04718.60
5.6.240.0140.05218.44
5.6.230.0170.05418.60
5.6.220.0160.05318.52
5.6.210.0170.05218.58
5.6.200.0160.05918.49
5.6.190.0170.05718.60
5.6.180.0140.06018.57
5.6.170.0180.04718.49
5.6.160.0120.05418.58
5.6.150.0140.05618.50
5.6.140.0190.04518.53
5.6.130.0190.04818.57
5.6.120.0180.04918.62
5.6.110.0190.06018.43
5.6.100.0180.05018.65
5.6.90.0160.05418.45
5.6.80.0170.05018.09
5.6.70.0140.05018.11
5.6.60.0170.04717.99
5.6.50.0140.05118.13
5.6.40.0160.04418.06
5.6.30.0140.05418.20
5.6.20.0090.04818.08
5.6.10.0140.05118.05
5.6.00.0140.05018.18
5.5.380.0160.05115.29
5.5.370.0130.05315.33
5.5.360.0140.05415.31
5.5.350.0160.04615.23
5.5.340.0170.04815.46
5.5.330.0150.04515.49
5.5.320.0140.05515.53
5.5.310.0130.04615.60
5.5.300.0200.04315.57
5.5.290.0160.05015.52
5.5.280.0140.05115.50
5.5.270.0170.05015.50
5.5.260.0140.05015.48
5.5.250.0160.05015.46
5.5.240.0120.04915.17
5.5.230.0130.05015.12
5.5.220.0170.04915.09
5.5.210.0140.04115.03
5.5.200.0130.05015.04
5.5.190.0160.04315.02
5.5.180.0140.04715.06
5.5.170.0100.00714.13
5.5.160.0090.05315.07
5.5.150.0090.04615.08
5.5.140.0120.04515.07
5.5.130.0210.04115.13
5.5.120.0140.04015.05
5.5.110.0110.04615.10
5.5.100.0110.04314.91
5.5.90.0190.03015.00
5.5.80.0130.04615.04
5.5.70.0130.05015.00
5.5.60.0150.03915.04
5.5.50.0160.05115.00
5.5.40.0170.04215.07
5.5.30.0110.04815.01
5.5.20.0120.05315.07
5.5.10.0090.04114.94
5.5.00.0130.04715.03
5.4.450.0170.05016.42
5.4.440.0160.05216.48
5.4.430.0150.05316.45
5.4.420.0150.05316.51
5.4.410.0120.04916.46
5.4.400.0120.04716.23
5.4.390.0120.05016.21
5.4.380.0130.04916.17
5.4.370.0140.04416.33
5.4.360.0110.05316.16
5.4.350.0180.03616.21
5.4.340.0130.04716.26
5.4.330.0110.00510.75
5.4.320.0160.04716.18
5.4.310.0170.04316.11
5.4.300.0140.04516.11
5.4.290.0130.03916.16
5.4.280.0160.03916.04
5.4.270.0130.04816.30
5.4.260.0130.04316.24
5.4.250.0160.04016.20
5.4.240.0150.04216.23
5.4.230.0150.04116.34
5.4.220.0140.04216.35
5.4.210.0180.04216.25
5.4.200.0220.03816.18
5.4.190.0130.05116.17
5.4.180.0170.03916.23
5.4.170.0130.04216.11
5.4.160.0140.04916.25
5.4.150.0180.04716.16
5.4.140.0150.04914.60
5.4.130.0140.04114.64
5.4.120.0140.04114.47
5.4.110.0150.04414.51
5.4.100.0150.04014.54
5.4.90.0110.04614.41
5.4.80.0140.04414.60
5.4.70.0180.04014.44
5.4.60.0140.04314.57
5.4.50.0130.04414.53
5.4.40.0130.04314.57
5.4.30.0150.03814.35
5.4.20.0160.03914.54
5.4.10.0110.04214.46
5.4.00.0150.03714.13

preferences:
63.31 ms | 403 KiB | 5 Q