3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Languages\Languages { trait Danish { //const TST = 5; } } namespace Languages; class Greenlandic { use Languages\Danish; } ?>

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)
5.6.110.0030.07021.00
5.6.100.0100.03720.88
5.6.90.0130.03321.01
5.6.80.0070.03320.38
5.5.270.0030.04020.86
5.5.260.0030.04020.89
5.5.250.0170.07320.79
5.5.240.0100.07320.15
5.4.430.1000.00019.24
5.4.420.0930.00019.18
5.4.410.0930.00019.28
5.4.400.0970.00018.88
5.4.390.0930.00019.05
5.4.380.0600.02818.98
5.4.370.0720.01819.05
5.4.360.0750.02018.81
5.4.350.0700.02718.81
5.4.340.0580.03018.73
5.4.320.0520.01715.91
5.4.310.0690.01615.68
5.4.300.0580.01815.78
5.4.290.0610.01915.73
5.4.280.0590.01915.66
5.4.270.0600.01815.87
5.4.260.0650.01915.72
5.4.250.0580.01915.81
5.4.240.0580.01815.80
5.4.230.0600.01915.85
5.4.220.0590.01915.74
5.4.210.0580.01815.79
5.4.200.0560.01914.66
5.4.190.0560.01915.80
5.4.180.0620.01815.75
5.4.170.0580.01815.75
5.4.160.0590.01615.68
5.4.150.0590.01615.69
5.4.140.0490.01914.30
5.4.130.0480.01814.27
5.4.120.0560.01814.32
5.4.110.0570.01814.25
5.4.100.0570.01714.32
5.4.90.0540.02014.34
5.4.80.0540.01914.15
5.4.70.0540.01814.34
5.4.60.0540.01814.11
5.4.50.0520.01814.12
5.4.40.0550.01914.14
5.4.30.0560.01814.16
5.4.20.0580.01514.14
5.4.10.0550.01614.22
5.4.00.0540.01813.61
5.3.290.0610.01913.73
5.3.280.0620.02013.56
5.3.270.0530.01713.58
5.3.260.0640.02013.67
5.3.250.0580.01813.62
5.3.240.0520.01813.64
5.3.230.0630.01613.60
5.3.220.0500.01813.55
5.3.210.0650.01913.54
5.3.200.0630.01813.58
5.3.190.0520.01613.52
5.3.180.0570.01713.57
5.3.170.0570.01813.57
5.3.160.0570.01813.55
5.3.150.0550.02013.62
5.3.140.0560.01913.62
5.3.130.0640.01713.53
5.3.120.0600.01713.50
5.3.110.0590.01813.54
5.3.100.0610.01813.03
5.3.90.0610.01712.97
5.3.80.0560.01812.99
5.3.70.0660.01812.96
5.3.60.0560.01812.94
5.3.50.0560.01912.90
5.3.40.0580.01712.96
5.3.30.0460.01712.94
5.3.20.0590.01612.63
5.3.10.0580.01812.60
5.3.00.0510.01612.63
5.2.170.0450.01610.13
5.2.160.0410.01510.05
5.2.150.0300.01410.08
5.2.140.0260.01610.09
5.2.130.0290.01410.08
5.2.120.0470.01310.17
5.2.110.0520.01410.08
5.2.100.0630.01310.17
5.2.90.0460.01510.07
5.2.80.0400.01510.12
5.2.70.0440.01410.12
5.2.60.0480.01410.00
5.2.50.0500.0149.99
5.2.40.0390.0149.98
5.2.30.0390.01410.04
5.2.20.0350.01310.00
5.2.10.0400.0149.85
5.2.00.0360.0179.74
5.1.60.0390.0148.95
5.1.50.0340.0129.07
5.1.40.0220.0138.98
5.1.30.0260.0139.39
5.1.20.0270.0139.35
5.1.10.0400.0149.07
5.1.00.0400.0149.15
5.0.50.0280.0097.57
5.0.40.0250.0107.39
5.0.30.0350.0147.30
5.0.20.0250.0127.22
5.0.10.0270.0097.23
5.0.00.0330.0167.15
4.4.90.0210.0075.27
4.4.80.0210.0075.30
4.4.70.0220.0075.32
4.4.60.0220.0075.24
4.4.50.0200.0075.26
4.4.40.0190.0135.26
4.4.30.0130.0085.26
4.4.20.0150.0075.35
4.4.10.0170.0075.34
4.4.00.0200.0135.29
4.3.110.0180.0075.23
4.3.100.0180.0075.23
4.3.90.0210.0055.20
4.3.80.0260.0135.18
4.3.70.0210.0075.23
4.3.60.0190.0075.13
4.3.50.0210.0085.15
4.3.40.0270.0125.16
4.3.30.0180.0073.89
4.3.20.0180.0093.90
4.3.10.0160.0073.79
4.3.00.0030.0206.89

preferences:
144.95 ms | 1394 KiB | 7 Q