3v4l.org

run code in 300+ PHP versions simultaneously
<?php $func = 'print_r'; $func($func);

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.1rc20.0040.00417.02
8.1rc10.0050.00216.88
8.0.100.0000.00716.78
8.0.90.0070.00016.88
8.0.80.0090.01016.75
8.0.70.0040.00416.82
8.0.60.0070.00016.88
8.0.50.0040.00416.76
8.0.30.0070.01416.91
8.0.20.0110.00717.40
8.0.10.0040.00416.97
8.0.00.0070.01116.78
7.4.230.0040.00416.32
7.4.220.0040.01516.58
7.4.210.0060.01116.56
7.4.200.0000.00716.51
7.4.190.0040.00416.23
7.4.160.0060.00916.30
7.4.150.0070.01017.40
7.4.140.0100.01117.86
7.4.130.0060.01016.44
7.4.120.0100.00816.36
7.4.110.0130.00316.40
7.4.100.0100.01016.50
7.4.90.0090.01216.45
7.4.80.0030.01616.26
7.4.70.0110.00516.52
7.4.60.0030.01316.38
7.4.50.0040.00016.41
7.4.40.0070.01022.77
7.4.30.0030.01216.55
7.4.00.0060.00614.68
7.3.300.0060.00016.19
7.3.290.0000.01516.17
7.3.280.0090.00616.12
7.3.270.0070.01017.40
7.3.260.0060.01316.41
7.3.250.0080.01016.13
7.3.240.0140.00516.36
7.3.230.0100.00716.43
7.3.210.0070.01116.34
7.3.200.0090.01219.39
7.3.190.0200.00316.16
7.3.180.0040.01316.39
7.3.170.0090.00916.50
7.3.160.0090.00816.14
7.3.120.0070.00717.15
7.3.110.0000.01417.15
7.3.100.0060.00317.15
7.3.90.0100.00617.15
7.3.80.0060.00317.15
7.3.70.0030.00917.15
7.3.60.0040.01217.15
7.3.50.0080.00617.15
7.3.40.0040.01117.15
7.3.30.0030.01017.15
7.3.20.0090.00317.15
7.3.10.0060.00617.15
7.3.00.0030.01017.15
7.2.330.0030.01416.50
7.2.320.0060.01216.30
7.2.310.0110.01116.16
7.2.300.0140.00716.51
7.2.290.0120.00616.50
7.2.240.0030.00917.15
7.2.230.0000.01317.15
7.2.220.0030.00917.15
7.2.210.0040.01117.15
7.2.200.0000.00917.15
7.2.190.0040.01117.15
7.2.180.0070.01017.15
7.2.170.0060.00617.15
7.2.160.0040.00817.15
7.2.150.0060.00817.15
7.2.140.0030.00617.15
7.2.130.0110.00417.15
7.2.120.0100.00717.15
7.2.110.0040.01117.15
7.2.100.0060.00617.15
7.2.90.0040.01117.15
7.2.80.0080.00817.15
7.2.70.0040.00717.15
7.2.60.0070.00716.98
7.2.50.0070.00717.15
7.2.40.0090.00317.15
7.2.30.0040.01117.15
7.2.20.0000.01817.15
7.2.10.0030.01017.15
7.2.00.0130.00318.26
7.1.330.0070.00717.15
7.1.320.0030.00617.15
7.1.310.0060.00917.15
7.1.300.0070.00717.15
7.1.290.0090.00617.15
7.1.280.0070.00717.15
7.1.270.0090.00617.15
7.1.260.0120.00317.15
7.1.250.0070.00717.15
7.1.200.0030.01015.66
7.1.100.0110.00417.93
7.1.70.0000.00717.11
7.1.60.0070.00716.87
7.1.50.0040.00816.86
7.1.40.0070.01016.30
7.1.30.0030.01616.54
7.1.20.0120.00616.63
7.1.10.0000.00816.30
7.1.00.0000.00916.60
7.0.200.0030.00616.55
7.0.190.0080.00016.58
7.0.180.0030.00616.31
7.0.170.0030.01416.16
7.0.160.0070.01016.43
7.0.150.0000.01116.16
7.0.140.0000.00816.48
7.0.130.0000.00716.55
7.0.120.0000.00816.42
7.0.110.0030.00616.36
7.0.100.0030.00616.48
7.0.90.0000.01016.54
7.0.80.0000.00816.28
7.0.70.0000.00816.21
7.0.60.0100.00016.02
7.0.50.0000.01116.39
7.0.40.0000.00816.01
7.0.30.0100.00716.01
7.0.20.0000.00816.01
7.0.10.0000.01016.01
7.0.00.0040.00416.01
5.6.300.0070.04420.82
5.6.290.0070.03720.66
5.6.280.0130.03120.82
5.6.270.0070.03920.97
5.6.260.0100.03321.03
5.6.250.0030.08720.89
5.6.240.0030.04720.93
5.6.230.0100.03821.05
5.6.220.0030.04020.86
5.6.210.0260.03621.08
5.6.200.0030.05520.82
5.6.190.0040.04620.86
5.6.180.0000.05120.76
5.6.170.0000.05220.83
5.6.160.0000.04721.01
5.6.150.0000.04521.04
5.6.140.0070.07920.85
5.6.130.0060.04220.91
5.6.120.0040.04320.92
5.6.110.0070.05420.85
5.6.100.0030.04120.92
5.6.90.0100.03420.84
5.6.80.0070.05620.43
5.6.70.0000.04920.36
5.6.60.0070.04220.28
5.6.50.0170.03720.32
5.6.40.0000.04020.13
5.6.30.0070.04020.18
5.6.20.0030.04720.28
5.6.10.0030.03720.20
5.6.00.0030.04020.39
5.5.380.0100.03817.55
5.5.370.0030.03717.55
5.5.360.0130.08217.45
5.5.350.0030.03917.45
5.5.340.0060.03918.03
5.5.330.0030.07318.03
5.5.320.0000.04317.95
5.5.310.0000.05418.04
5.5.300.0030.07617.70
5.5.290.0000.05418.03
5.5.280.0060.03617.74
5.5.270.0000.05117.83
5.5.260.0030.05118.01
5.5.250.0070.03417.84
5.5.240.0060.03717.36
5.5.230.0000.06117.34
5.5.220.0070.04317.37
5.5.210.0000.04317.42
5.5.200.0030.03817.43
5.5.190.0060.04417.37
5.5.180.0030.04217.21
5.5.160.0030.04017.37
5.5.150.0000.04617.38
5.5.140.0030.04117.29
5.5.130.0070.04017.31
5.5.120.0030.08817.05
5.5.110.0030.04117.29
5.5.100.0070.03317.24
5.5.90.0030.07217.26
5.5.80.0000.04217.25
5.5.70.0030.04217.27
5.5.60.0170.04116.98
5.5.50.0060.03916.98
5.5.40.0000.04017.21
5.5.30.0070.03417.07
5.5.20.0000.04416.98
5.5.10.0030.03917.08
5.5.00.0000.04717.19
5.4.450.0000.06219.47
5.4.440.0100.03919.44
5.4.430.0070.06219.39
5.4.420.0070.04419.37
5.4.410.0030.04019.27
5.4.400.0000.04319.07
5.4.390.0070.03819.02
5.4.380.0070.03318.98
5.4.370.0000.04118.91
5.4.360.0070.03319.00
5.4.350.0100.03619.14
5.4.340.0070.04819.05
5.4.320.0000.04119.03
5.4.310.0030.03618.85
5.4.300.0000.04518.97
5.4.290.0000.04518.99
5.4.280.0000.04019.00
5.4.270.0070.04718.88
5.4.260.0070.03719.16
5.4.250.0030.04619.13
5.4.240.0000.04419.05
5.4.230.0030.03718.96
5.4.220.0070.03318.99
5.4.210.0000.03919.04
5.4.200.0030.04119.14
5.4.190.0030.05219.06
5.4.180.0100.03418.97
5.4.170.0000.04519.06
5.4.160.0030.03718.86
5.4.150.0030.03718.84
5.4.140.0000.03816.68
5.4.130.0000.04316.43
5.4.120.0000.04016.31
5.4.110.0000.05116.35
5.4.100.0000.03816.61
5.4.90.0070.06116.50
5.4.80.0030.05916.61
5.4.70.0030.03316.55
5.4.60.0090.02816.59
5.4.50.0070.03016.66
5.4.40.0070.04116.39
5.4.30.0070.03016.55
5.4.20.0030.03716.62
5.4.10.0070.03116.50
5.4.00.0030.03716.02
5.3.290.0070.03616.01
5.3.280.0030.03916.01
5.3.270.0000.03816.01
5.3.260.0070.03416.01
5.3.250.0040.03516.01
5.3.240.0000.04616.01
5.3.230.0030.06216.01
5.3.220.0230.03316.01
5.3.210.0170.04516.01
5.3.200.0040.03616.01
5.3.190.0030.03816.01
5.3.180.0000.04616.01
5.3.170.0000.04016.01
5.3.160.0060.03516.01
5.3.150.0030.03416.01
5.3.140.0030.04616.01
5.3.130.0030.04616.01
5.3.120.0030.03916.01
5.3.110.0070.06716.01
5.3.100.0070.03316.01
5.3.90.0000.03916.01
5.3.80.0030.03916.01
5.3.70.0000.04516.01
5.3.60.0000.03916.01
5.3.50.0000.04116.01
5.3.40.0000.04016.01
5.3.30.0100.02916.01
5.3.20.0030.03716.01
5.3.10.0130.03216.01
5.3.00.0070.05416.01
5.2.170.0000.04016.01
5.2.160.0000.04316.01
5.2.150.0030.03016.01
5.2.140.0000.03016.01
5.2.130.0060.03216.01
5.2.120.0000.03716.01
5.2.110.0030.02916.01
5.2.100.0070.05016.01
5.2.90.0000.06216.01
5.2.80.0030.03016.01
5.2.70.0030.03616.01
5.2.60.0000.03916.01
5.2.50.0000.03716.01
5.2.40.0040.03216.01
5.2.30.0060.02916.01
5.2.20.0000.03216.01
5.2.10.0000.03416.01
5.2.00.0030.03916.01
5.1.60.0070.02016.01
5.1.50.0000.02716.01
5.1.40.0000.03116.01
5.1.30.0170.02316.01
5.1.20.0070.02316.01
5.1.10.0060.02216.01
5.1.00.0100.03916.01
5.0.50.0060.01816.01
5.0.40.0070.02516.01
5.0.30.0030.03516.01
5.0.20.0000.02016.01
5.0.10.0160.02616.01
5.0.00.0140.03516.01
4.4.90.0000.02116.01
4.4.80.0060.01216.01
4.4.70.0030.01816.01
4.4.60.0070.01316.01
4.4.50.0000.01916.01
4.4.40.0000.02616.01
4.4.30.0040.01516.01
4.4.20.0000.01716.01
4.4.10.0030.01516.01
4.4.00.0030.03716.01
4.3.110.0000.01716.01
4.3.100.0030.01416.01
4.3.90.0000.02116.01
4.3.80.0000.03116.01
4.3.70.0000.01616.01
4.3.60.0030.01516.01
4.3.50.0040.01816.01
4.3.40.0000.02616.01
4.3.30.0030.01616.01
4.3.20.0060.02216.01
4.3.10.0000.02216.01
4.3.00.0030.01516.01

preferences:
22.69 ms | 458 KiB | 11 Q