3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array(1,2,3,4,5,6,7,8); var_export($myArray);

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.0090.00017.50
8.3.140.0040.00418.23
8.3.130.0030.00618.22
8.3.120.0000.00918.64
8.3.110.0080.00420.94
8.3.100.0160.00318.46
8.3.90.0030.01326.77
8.3.80.0090.00018.30
8.3.70.0180.00316.75
8.3.60.0150.00316.60
8.3.50.0160.00522.05
8.3.40.0140.00018.58
8.3.30.0090.00619.06
8.3.20.0050.00220.16
8.3.10.0040.00423.65
8.3.00.0000.00818.88
8.2.250.0080.00016.49
8.2.240.0060.00316.84
8.2.230.0170.00322.58
8.2.220.0090.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00318.54
8.2.190.0060.01020.10
8.2.180.0090.00616.38
8.2.170.0070.00722.96
8.2.160.0070.00722.27
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0050.00226.16
8.2.120.0040.00421.19
8.2.110.0040.00720.94
8.2.100.0030.00917.78
8.2.90.0050.00317.57
8.2.80.0080.00017.97
8.2.70.0050.00317.80
8.2.60.0080.00318.03
8.2.50.0000.01118.10
8.2.40.0000.00819.76
8.2.30.0000.00817.89
8.2.20.0050.00217.55
8.2.10.0080.00018.05
8.2.00.0040.00417.89
8.1.300.0050.00320.10
8.1.290.0070.00330.84
8.1.280.0070.01425.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.06
8.1.230.0080.00422.75
8.1.220.0040.00417.74
8.1.210.0000.00819.84
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0090.00018.52
8.1.160.0000.00822.04
8.1.150.0040.00418.81
8.1.140.0000.00717.29
8.1.130.0000.00717.82
8.1.120.0070.00017.44
8.1.110.0030.00617.34
8.1.100.0030.00317.35
8.1.90.0000.00717.42
8.1.80.0040.00417.26
8.1.70.0030.00317.26
8.1.60.0030.00617.54
8.1.50.0000.00817.41
8.1.40.0000.00717.43
8.1.30.0000.00817.57
8.1.20.0050.00417.52
8.1.10.0000.00717.36
8.1.00.0020.00517.20
8.0.300.0050.00222.03
8.0.290.0120.00016.63
8.0.280.0000.00718.43
8.0.270.0080.00017.19
8.0.260.0030.00317.20
8.0.250.0030.00316.78
8.0.240.0050.00216.76
8.0.230.0000.00716.85
8.0.220.0070.00016.80
8.0.210.0070.00016.73
8.0.200.0030.00316.89
8.0.190.0050.00216.89
8.0.180.0030.00516.79
8.0.170.0000.00816.92
8.0.160.0040.00416.86
8.0.150.0050.00216.66
8.0.140.0040.00416.67
8.0.130.0000.00613.20
8.0.120.0040.00416.69
8.0.110.0000.00816.81
8.0.100.0070.00016.86
8.0.90.0040.00416.65
8.0.80.0090.00616.81
8.0.70.0050.00316.76
8.0.60.0000.00716.76
8.0.50.0040.00416.76
8.0.30.0080.01117.11
8.0.20.0120.00717.40
8.0.10.0040.00416.90
8.0.00.0120.00516.69
7.4.330.0060.00015.06
7.4.320.0030.00316.39
7.4.300.0000.00716.32
7.4.290.0070.00016.44
7.4.280.0030.00616.55
7.4.270.0070.00016.50
7.4.260.0070.00016.36
7.4.250.0000.00716.34
7.4.240.0070.00116.54
7.4.230.0020.00616.42
7.4.220.0090.00616.53
7.4.210.0110.00916.63
7.4.200.0030.00316.26
7.4.160.0070.00716.34
7.4.150.0110.00617.40
7.4.140.0060.01217.86
7.4.130.0110.01116.43
7.4.120.0110.00816.48
7.4.110.0120.00816.22
7.4.100.0130.01216.29
7.4.90.0150.00816.27
7.4.80.0120.01017.03
7.4.70.0140.00816.42
7.4.60.0130.00816.23
7.4.50.0130.01116.32
7.4.40.0170.00516.38
7.4.30.0120.01016.27
7.4.20.0160.00816.36
7.4.10.0140.01015.92
7.4.00.0070.01015.73
7.3.330.0060.00012.89
7.3.320.0060.00012.96
7.3.310.0060.00015.93
7.3.300.0040.00416.16
7.3.290.0080.00516.11
7.3.280.0100.01016.18
7.3.270.0060.00917.40
7.3.260.0150.00416.33
7.3.250.0090.01016.26
7.3.240.0060.01316.31
7.3.230.0140.00916.21
7.3.220.0150.00916.27
7.3.210.0170.00616.08
7.3.200.0110.01117.02
7.3.190.0130.00816.19
7.3.180.0120.01216.11
7.3.170.0200.00616.30
7.3.160.0160.00716.08
7.3.150.0170.00716.29
7.3.140.0130.00916.32
7.3.130.0130.00915.90
7.3.120.0110.01015.91
7.3.110.0130.01015.77
7.3.100.0130.00815.71
7.3.90.0150.00815.71
7.3.80.0130.00815.80
7.3.70.0130.00815.61
7.3.60.0130.00915.81
7.3.50.0130.00815.73
7.3.40.0100.01015.82
7.3.30.0120.00715.72
7.3.20.0120.01216.16
7.3.10.0070.01116.24
7.3.00.0120.00816.30
7.2.340.0110.01616.27
7.2.330.0130.01016.23
7.2.320.0130.00916.40
7.2.310.0130.01016.32
7.2.300.0130.01016.30
7.2.290.0120.01116.45
7.2.280.0140.01016.34
7.2.270.0140.01116.29
7.2.260.0130.00915.93
7.2.250.0090.01516.01
7.2.240.0120.01115.98
7.2.230.0130.00915.92
7.2.220.0100.01315.91
7.2.210.0160.00715.92
7.2.200.0170.00815.91
7.2.190.0120.00916.01
7.2.180.0130.01115.97
7.2.170.0140.00715.93
7.2.160.0130.00915.79
7.2.150.0110.00816.42
7.2.140.0110.01116.53
7.2.130.0180.00716.44
7.2.120.0110.01116.56
7.2.110.0170.00616.47
7.2.100.0150.00816.46
7.2.90.0200.00816.49
7.2.80.0150.00916.49
7.2.70.0140.01116.51
7.2.60.0130.00916.50
7.2.50.0180.00716.45
7.2.40.0140.00916.53
7.2.30.0120.01016.46
7.2.20.0110.01016.49
7.2.10.0110.00816.52
7.2.00.0090.01016.93
7.1.330.0180.01015.39
7.1.320.0230.00715.50
7.1.310.0190.00915.57
7.1.300.0180.00815.47
7.1.290.0230.00515.41
7.1.280.0210.00815.47
7.1.270.0200.00815.55
7.1.260.0160.01215.52
7.1.250.0170.00715.50
7.1.240.0200.00915.51
7.1.230.0160.01215.44
7.1.220.0250.00715.47
7.1.210.0240.00415.43
7.1.200.0150.01015.45
7.1.190.0210.00715.52
7.1.180.0210.00815.43
7.1.170.0190.01215.47
7.1.160.0280.00715.51
7.1.150.0230.00815.51
7.1.140.0240.00915.54
7.1.130.0150.00815.42
7.1.120.0200.00715.49
7.1.110.0180.00715.53
7.1.100.0130.01215.99
7.1.90.0160.01115.46
7.1.80.0190.00815.55
7.1.70.0170.00615.81
7.1.60.0180.00916.30
7.1.50.0170.00715.76
7.1.40.0150.01115.53
7.1.30.0200.00815.50
7.1.20.0210.00815.55
7.1.10.0170.01115.60
7.1.00.0160.02216.89
7.0.330.0180.00915.10
7.0.320.0170.01015.15
7.0.310.0180.00715.18
7.0.300.0170.00815.18
7.0.290.0190.00815.18
7.0.280.0170.00915.05
7.0.270.0170.00715.21
7.0.260.0160.00915.14
7.0.250.0200.00515.27
7.0.240.0190.00715.25
7.0.230.0200.00915.13
7.0.220.0200.00615.18
7.0.210.0270.00815.21
7.0.200.0150.00815.54
7.0.190.0180.00715.20
7.0.180.0200.00815.07
7.0.170.0140.01215.17
7.0.160.0170.01015.23
7.0.150.0200.00715.19
7.0.140.0200.00915.18
7.0.130.0190.00715.24
7.0.120.0230.00615.26
7.0.110.0220.00315.27
7.0.100.0170.00915.22
7.0.90.0140.01015.17
7.0.80.0160.01015.15
7.0.70.0150.01015.17
7.0.60.0140.02416.16
7.0.50.0140.02215.71
7.0.40.0150.01815.81
7.0.30.0380.01715.78
7.0.20.0180.01615.77
7.0.10.0170.01915.79
7.0.00.0180.02215.79
5.6.400.0190.01115.36
5.6.390.0200.00815.45
5.6.380.0200.00915.30
5.6.370.0180.01215.33
5.6.360.0170.01315.47
5.6.350.0200.00715.44
5.6.340.0160.01015.38
5.6.330.0130.01415.48
5.6.320.0150.01115.37
5.6.310.0160.01215.58
5.6.300.0160.01115.31
5.6.290.0200.00815.38
5.6.280.0170.02116.48
5.6.270.0190.01015.45
5.6.260.0200.00715.48
5.6.250.0160.00815.19
5.6.240.0170.00915.29
5.6.230.0150.01115.40
5.6.220.0180.01015.36
5.6.210.0160.02216.44
5.6.200.0170.01715.93
5.6.190.0150.02216.49
5.6.180.0830.01816.37
5.6.170.0180.01816.35
5.6.160.0200.02116.45
5.6.150.0140.01815.96
5.6.140.0140.02615.86
5.6.130.0160.02415.95
5.6.120.0180.01516.51
5.6.110.0190.02216.55
5.6.100.0150.02516.50
5.6.90.0150.02416.46
5.6.80.0160.02516.31
5.6.70.0160.02416.40
5.6.60.0200.00615.40
5.6.50.0220.00715.41
5.6.40.0200.00815.31
5.6.30.0140.01115.25
5.6.20.0110.01415.31
5.6.10.0140.01215.36
5.6.00.0150.01315.26
5.5.380.0160.01015.44
5.5.370.0200.00715.35
5.5.360.0160.01215.51
5.5.350.0180.01516.32
5.5.340.0140.01715.88
5.5.330.0160.02316.33
5.5.320.0230.02116.41
5.5.310.0180.01616.37
5.5.300.0160.02515.91
5.5.290.0150.02515.87
5.5.280.0130.02716.44
5.5.270.0170.02416.44
5.5.260.0160.02016.40
5.5.250.0210.02016.25
5.5.240.0190.01916.20
5.5.230.0140.01215.08
5.5.220.0170.01015.30
5.5.210.0160.00915.27
5.5.200.0150.01115.17
5.5.190.0180.01015.35
5.5.180.0160.01015.12
5.5.170.0150.01215.15
5.5.160.0150.01215.31
5.5.150.0120.01515.13
5.5.140.0150.01015.18
5.5.130.0160.01215.18
5.5.120.0220.00515.33
5.5.110.0150.01215.32
5.5.100.0210.00415.19
5.5.90.0140.01115.30
5.5.80.0180.00915.29
5.5.70.0210.00815.28
5.5.60.0180.00815.15
5.5.50.0200.00815.25
5.5.40.0160.01015.20
5.5.30.0170.01015.31
5.5.20.0160.01115.26
5.5.10.0210.00815.22
5.5.00.0120.01415.23
5.4.450.0360.01713.75
5.4.440.0160.01613.84
5.4.430.0130.01713.82
5.4.420.0130.01613.81
5.4.410.0140.01513.74
5.4.400.0140.01513.69
5.4.390.0160.01313.60
5.4.380.0160.01413.66
5.4.370.0100.01913.65
5.4.360.0140.01513.68
5.4.350.0160.01413.66
5.4.340.0090.01913.68
5.4.330.0130.00912.33
5.4.320.0130.01713.61
5.4.310.0120.01713.63
5.4.300.0100.01813.72
5.4.290.0160.01513.69
5.4.280.0130.01613.67
5.4.270.0150.01613.73
5.4.260.0120.01913.70
5.4.250.0120.01613.67
5.4.240.0130.01713.64
5.4.230.0120.02113.63
5.4.220.0160.01313.62
5.4.210.0140.01413.62
5.4.200.0140.01413.22
5.4.190.0160.01513.69
5.4.180.0140.01513.72
5.4.170.0140.01413.63
5.4.160.0130.01413.55
5.4.150.0120.01613.65
5.4.140.0120.01513.14
5.4.130.0100.01613.07
5.4.120.0110.01613.14
5.4.110.0160.01213.11
5.4.100.0130.01713.29
5.4.90.0130.01613.07
5.4.80.0150.01313.13
5.4.70.0150.01513.10
5.4.60.0100.01813.16
5.4.50.0110.01713.06
5.4.40.0100.02013.12
5.4.30.0130.01513.20
5.4.20.0120.01713.07
5.4.10.0130.01613.14
5.4.00.0110.01812.97
5.3.290.0120.02313.40
5.3.280.0180.02313.32
5.3.270.0160.02613.40
5.3.260.0150.01913.39
5.3.250.0150.01913.37
5.3.240.0120.02013.40
5.3.230.0130.02113.38
5.3.220.0130.02113.31
5.3.210.0120.02513.39
5.3.200.0100.02313.31
5.3.190.0140.02113.34
5.3.180.0130.02013.44
5.3.170.0160.01913.34
5.3.160.0090.02313.36
5.3.150.0120.02113.34
5.3.140.0130.02213.33
5.3.130.0180.01713.33
5.3.120.0150.02013.38
5.3.110.0180.01813.35
5.3.100.0140.01813.21
5.3.90.0150.01913.21
5.3.80.0170.02013.19
5.3.70.0100.02513.14
5.3.60.0140.02013.19
5.3.50.0160.01813.18
5.3.40.0190.01713.17
5.3.30.0140.02113.14
5.3.20.0130.02013.07
5.3.10.0190.01613.08
5.3.00.0140.02013.08
5.2.170.0120.01712.29
5.2.160.0120.01912.31
5.2.150.0140.01412.26
5.2.140.0090.01912.21
5.2.130.0150.01412.24
5.2.120.0110.01812.22
5.2.110.0130.01412.27
5.2.100.0100.01812.21
5.2.90.0100.02012.29
5.2.80.0150.01512.23
5.2.70.0150.01512.26
5.2.60.0130.01612.26
5.2.50.0150.01512.20
5.2.40.0150.01312.21
5.2.30.0110.01612.19
5.2.20.0110.01812.19
5.2.10.0100.01912.19
5.2.00.0110.01612.17
5.1.60.0090.01511.96
5.1.50.0120.01211.99
5.1.40.0120.01311.97
5.1.30.0110.01412.08
5.1.20.0140.01012.06
5.1.10.0110.01412.01
5.1.00.0070.01711.97
5.0.50.0070.01411.61
5.0.40.0100.01011.57
5.0.30.0050.01711.51
5.0.20.0070.01211.50
5.0.10.0060.01211.50
5.0.00.0090.01311.49
4.4.90.0090.00610.94
4.4.80.0060.00910.93
4.4.70.0050.01010.91
4.4.60.0040.00910.92
4.4.50.0050.00910.91
4.4.40.0060.01010.94
4.4.30.0080.00610.91
4.4.20.0070.00810.95
4.4.10.0080.00810.97
4.4.00.0060.01010.95
4.3.110.0050.01010.91
4.3.100.0080.00510.91
4.3.90.0070.00610.92
4.3.80.0060.01110.91
4.3.70.0060.00710.91
4.3.60.0030.01010.93
4.3.50.0050.00810.91
4.3.40.0020.01310.89
4.3.30.0040.01010.61
4.3.20.0040.00910.58
4.3.10.0040.00810.56
4.3.00.0120.00813.09

preferences:
18.46 ms | 403 KiB | 5 Q