3v4l.org

run code in 300+ PHP versions simultaneously
<?php chroot("/path/to/your/chroot/"); echo getcwd(); ?>

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.10.0040.00417.54
8.3.140.0070.00020.53
8.3.130.0060.00316.46
8.3.120.0070.00720.42
8.3.110.0070.01120.94
8.3.100.0160.00324.06
8.3.90.0070.00026.77
8.3.80.0080.00018.43
8.3.70.0060.00818.06
8.3.60.0070.00716.36
8.3.50.0080.00920.95
8.3.40.0120.00318.38
8.3.30.0070.00718.90
8.3.20.0030.00320.21
8.3.10.0130.00323.54
8.3.00.0070.00317.25
8.2.260.0040.00416.94
8.2.250.0070.00718.36
8.2.240.0040.00416.94
8.2.230.0080.00022.58
8.2.220.0100.00737.54
8.2.210.0030.00326.77
8.2.200.0050.00318.04
8.2.190.0100.00717.86
8.2.180.0200.00016.50
8.2.170.0040.01118.78
8.2.160.0080.00422.96
8.2.150.0060.00324.18
8.2.140.0070.01024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.97
8.2.110.0030.00619.13
8.2.100.0110.00017.78
8.2.90.0000.00719.76
8.2.80.0000.00718.09
8.2.70.0030.00317.91
8.2.60.0040.00417.50
8.2.50.0040.00417.38
8.2.40.0000.00720.46
8.2.30.0030.00317.87
8.2.20.0070.00017.54
8.2.10.0040.00417.88
8.2.00.0000.00717.95
8.1.300.0070.00717.86
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0070.00020.24
8.1.260.0030.00326.35
8.1.250.0030.00328.09
8.1.240.0000.00822.33
8.1.230.0070.00421.04
8.1.220.0050.00217.74
8.1.210.0040.00418.77
8.1.200.0080.00017.23
8.1.190.0060.00317.23
8.1.180.0050.01018.10
8.1.170.0000.00918.55
8.1.160.0030.00322.11
8.1.150.0030.00318.82
8.1.140.0070.00017.28
8.1.130.0030.00517.41
8.1.120.0000.00617.38
8.1.110.0040.00417.34
8.1.100.0040.00417.26
8.1.90.0030.00317.38
8.1.80.0000.00617.27
8.1.70.0060.00017.38
8.1.60.0070.00317.33
8.1.50.0060.00617.41
8.1.40.0080.00017.44
8.1.30.0040.00417.41
8.1.20.0030.00317.41
8.1.10.0050.00217.28
8.1.00.0000.00817.47
8.0.300.0060.00019.84
8.0.290.0070.00016.58
8.0.280.0080.00018.28
8.0.270.0030.00317.11
8.0.260.0000.00616.47
8.0.250.0030.00316.66
8.0.240.0030.00316.64
8.0.230.0060.00016.79
8.0.220.0070.00016.64
8.0.210.0060.00016.59
8.0.200.0000.00616.64
8.0.190.0070.00016.74
8.0.180.0000.00716.70
8.0.170.0080.00016.72
8.0.160.0070.00016.71
8.0.150.0030.00316.71
8.0.140.0030.00516.72
8.0.130.0050.00013.19
8.0.120.0060.00316.67
8.0.110.0030.00516.88
8.0.100.0000.00716.71
8.0.90.0040.00416.83
8.0.80.0090.00916.88
8.0.70.0040.00416.63
8.0.60.0050.00216.85
8.0.50.0000.00816.68
8.0.30.0140.01016.94
8.0.20.0120.00817.40
8.0.10.0000.00716.84
8.0.00.0090.01116.78
7.4.330.0050.00015.03
7.4.320.0000.00616.14
7.4.300.0030.00316.14
7.4.290.0000.00716.38
7.4.280.0070.00016.33
7.4.270.0030.00316.26
7.4.260.0000.00816.12
7.4.250.0000.00716.32
7.4.240.0020.00516.35
7.4.230.0030.00616.48
7.4.220.0090.00616.44
7.4.210.0070.00716.43
7.4.200.0040.00416.17
7.4.160.0060.01016.45
7.4.150.0070.01017.40
7.4.140.0070.01117.86
7.4.130.0090.00816.37
7.4.120.0080.01216.47
7.4.110.0030.01916.44
7.4.100.0120.00716.36
7.4.90.0110.00716.48
7.4.80.0100.00719.39
7.4.70.0030.01316.51
7.4.60.0080.00816.39
7.4.50.0030.00516.50
7.4.40.0060.01516.46
7.4.30.0060.01116.34
7.4.00.0070.00714.80
7.3.330.0000.00513.05
7.3.320.0050.00912.90
7.3.310.0000.00716.04
7.3.300.0000.00716.20
7.3.290.0000.00716.20
7.3.280.0080.01016.20
7.3.270.0260.02217.40
7.3.260.0100.00716.36
7.3.250.0120.00916.24
7.3.240.0070.01016.12
7.3.230.0150.00716.39
7.3.210.0060.01216.25
7.3.200.0140.00819.39
7.3.190.0080.00816.28
7.3.180.0100.00716.42
7.3.170.0080.00816.27
7.3.160.0120.00416.30
7.3.10.0110.00716.55
7.3.00.0040.01116.48
7.2.330.0110.00716.48
7.2.320.0120.00616.52
7.2.310.0030.01316.56
7.2.300.0090.00916.22
7.2.290.0040.01916.63
7.2.130.0000.01616.51
7.2.120.0090.00316.50
7.2.110.0030.00716.68
7.2.100.0030.01016.79
7.2.90.0030.01116.73
7.2.80.0120.00416.87
7.2.70.0080.00416.86
7.2.60.0080.00916.83
7.2.50.0140.01316.81
7.2.40.0120.01016.54
7.2.30.0060.01016.65
7.2.20.0100.01016.72
7.2.10.0140.00716.62
7.2.00.0050.01217.96
7.1.250.0040.00715.36
7.1.200.0100.00315.65
7.1.100.0070.00717.90
7.1.70.0040.00417.08
7.1.60.0130.00619.50
7.1.50.0100.01016.86
7.1.00.0130.06722.36
7.0.200.0040.00716.57
7.0.60.0070.05720.02
7.0.50.0100.04017.79
7.0.40.0030.04320.05
7.0.30.0470.06020.16
7.0.20.0330.04720.09
7.0.10.0100.09020.00
7.0.00.0030.07720.12
5.6.280.0030.06720.99
5.6.210.0170.06720.55
5.6.200.0070.08018.18
5.6.190.0130.08320.57
5.6.180.3970.03720.43
5.6.170.0330.07720.47
5.6.160.0070.08320.38
5.6.150.0030.04018.18
5.6.140.0030.04018.21
5.6.130.0070.04318.18
5.6.120.0100.06721.02
5.6.110.0100.08320.96
5.6.100.0000.07721.03
5.6.90.0130.08320.87
5.6.80.0100.06320.52
5.5.350.0000.08020.51
5.5.340.0100.07718.02
5.5.330.0100.04320.37
5.5.320.0270.03720.41
5.5.310.0300.08320.18
5.5.300.0100.06717.99
5.5.290.0000.06017.99
5.5.280.0000.04320.64
5.5.270.0070.08320.85
5.5.260.0170.07320.73
5.5.250.0070.07020.79
5.5.240.0100.06020.11
5.4.450.0170.04319.34
5.4.440.0670.03719.27
5.4.430.0100.04719.09
5.4.420.0100.05719.32
5.4.410.0030.08318.62
5.4.400.0070.05718.50
5.4.390.0070.05318.73
5.4.380.0070.05318.61
5.4.370.0030.06018.78
5.4.360.0130.07018.40
5.4.350.0100.05318.71
5.4.340.0000.06018.54
5.4.320.0070.05718.70
5.4.310.0030.05718.61
5.4.300.0070.06018.67
5.4.290.0170.04718.71
5.4.280.0200.04318.63
5.4.270.0170.04718.70
5.4.260.0100.07018.60
5.4.250.0100.05318.70
5.4.240.0130.05018.63
5.4.230.0030.06018.71
5.4.220.0100.05718.70
5.4.210.0130.04718.69
5.4.200.0270.04316.51
5.4.190.0200.04018.62
5.4.180.0030.06018.57
5.4.170.0130.05718.55
5.4.160.0000.06018.71
5.4.150.0170.06318.54
5.4.140.0030.05716.13
5.4.130.0170.06016.16
5.4.120.0170.06316.30
5.4.110.0200.04316.11
5.4.100.0070.05316.09
5.4.90.0100.05016.16
5.4.80.0030.05316.02
5.4.70.0100.04716.23
5.4.60.0100.05016.01
5.4.50.0100.05016.28
5.4.40.0200.06016.13
5.4.30.0100.06716.13
5.4.20.0230.06016.13
5.4.10.0070.05016.21
5.4.00.0100.04715.75
5.3.290.0170.04714.65
5.3.280.0230.03714.59
5.3.270.0130.05014.57
5.3.260.0100.05314.52
5.3.250.0170.04714.61
5.3.240.0100.05014.69
5.3.230.0170.04714.68
5.3.220.0170.04714.61
5.3.210.0170.05314.56
5.3.200.0130.05714.55
5.3.190.0170.04714.49
5.3.180.0070.05314.53
5.3.170.0130.05014.45
5.3.160.0070.05314.63
5.3.150.0030.06014.65
5.3.140.0130.04714.54
5.3.130.0100.05314.59
5.3.120.0030.06014.44
5.3.110.0270.06314.45
5.3.100.0100.05014.11
5.3.90.0170.04314.07
5.3.80.0070.05314.11
5.3.70.0070.05714.11
5.3.60.0000.06013.91
5.3.50.0200.04013.93
5.3.40.0070.05714.01
5.3.30.0070.05013.83
5.3.20.0100.04713.61
5.3.10.0070.05013.58
5.3.00.0030.05313.73
5.2.170.0070.04311.17
5.2.160.0030.04311.15
5.2.150.0000.05011.13
5.2.140.0070.04311.20
5.2.130.0070.04011.05
5.2.120.0100.03711.05
5.2.110.0070.04311.02
5.2.100.0070.04011.15
5.2.90.0170.03011.01
5.2.80.0030.04311.05
5.2.70.0130.03711.14
5.2.60.0070.04310.97
5.2.50.0070.04011.17
5.2.40.0000.04710.98
5.2.30.0100.04010.94
5.2.20.0030.04310.88
5.2.10.0070.04010.81
5.2.00.0030.04310.72
5.1.60.0070.03310.00
5.1.50.0030.0379.97
5.1.40.0130.02710.11
5.1.30.0070.03310.33
5.1.20.0070.03710.44
5.1.10.0070.03310.12
5.1.00.0030.03710.12
5.0.50.0130.0208.51
5.0.40.0100.0208.50
5.0.30.0070.0408.27
5.0.20.0000.0308.13
5.0.10.0000.0338.34
5.0.00.0000.0478.19
4.4.90.0070.0175.93
4.4.80.0030.0205.85
4.4.70.0000.0275.85
4.4.60.0030.0205.82
4.4.50.0070.0175.91
4.4.40.0030.0405.86
4.4.30.0000.0335.86
4.4.20.0030.0305.87
4.4.10.0030.0305.95
4.4.00.0100.0375.88
4.3.110.0070.0205.80
4.3.100.0000.0235.80
4.3.90.0030.0205.78
4.3.80.0000.0375.91
4.3.70.0030.0305.77
4.3.60.0000.0275.83
4.3.50.0030.0235.78
4.3.40.0070.0335.75
4.3.30.0000.0334.68
4.3.20.0000.0334.61
4.3.10.0030.0234.61
4.3.00.0000.01716.51

preferences:
28.92 ms | 403 KiB | 5 Q