3v4l.org

run code in 300+ PHP versions simultaneously
<?php $customer['address'] = '123 fake st'; $customer['name'] = 'Tim'; $customer['dob'] = '12/08/1986'; $customer['dontSortMe'] = 'this value doesnt need to be sorted'; $properOrderedArray = array_merge(array_flip(array('name', 'dob', 'address')), $customer);

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.3.40.0070.01118.84
8.3.30.0070.00719.01
8.3.20.0040.00420.39
8.3.10.0040.00422.00
8.3.00.0060.00322.46
8.2.170.0090.00622.96
8.2.160.0070.00719.18
8.2.150.0040.00424.18
8.2.140.0080.00824.66
8.2.130.0060.00926.16
8.2.120.0040.00419.64
8.2.110.0030.00720.34
8.2.100.0110.00017.91
8.2.90.0000.00818.16
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0050.00317.68
8.2.50.0000.00718.07
8.2.40.0040.00418.16
8.2.30.0070.00018.14
8.2.20.0040.00417.54
8.2.10.0050.00217.60
8.2.00.0000.00917.68
8.1.270.0000.00918.67
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00422.14
8.1.230.0000.01120.97
8.1.220.0000.00817.74
8.1.210.0040.00418.96
8.1.200.0060.00317.22
8.1.190.0070.00017.63
8.1.180.0090.00018.61
8.1.170.0040.00418.52
8.1.160.0000.00722.19
8.1.150.0000.00718.63
8.1.140.0000.00717.31
8.1.130.0030.00317.78
8.1.120.0040.00417.39
8.1.110.0000.00717.28
8.1.100.0020.00517.36
8.1.90.0040.00417.41
8.1.80.0070.00017.24
8.1.70.0070.00017.39
8.1.60.0030.00617.52
8.1.50.0040.00417.43
8.1.40.0040.00717.30
8.1.30.0040.00417.59
8.1.20.0000.00817.46
8.1.10.0000.00817.45
8.1.00.0000.00817.44
8.0.300.0050.00520.03
8.0.290.0000.00717.04
8.0.280.0070.00018.29
8.0.270.0000.00717.10
8.0.260.0070.00016.78
8.0.250.0070.00016.92
8.0.240.0000.00816.95
8.0.230.0000.00716.77
8.0.220.0040.00416.73
8.0.210.0030.00316.81
8.0.200.0030.00316.88
8.0.190.0030.00616.89
8.0.180.0030.00616.73
8.0.170.0070.00016.86
8.0.160.0030.00616.70
8.0.150.0040.00416.67
8.0.140.0000.00716.80
8.0.130.0060.00013.30
8.0.120.0040.00416.71
8.0.110.0040.00416.72
8.0.100.0040.00416.62
8.0.90.0050.00216.82
8.0.80.0090.00616.87
8.0.70.0040.00416.86
8.0.60.0000.00716.77
8.0.50.0000.00816.94
8.0.30.0100.00816.79
8.0.20.0100.01317.40
8.0.10.0000.00716.97
8.0.00.0140.00416.66
7.4.330.0030.00315.00
7.4.320.0030.00316.41
7.4.300.0050.00216.39
7.4.290.0040.00416.53
7.4.280.0040.00416.43
7.4.270.0070.00016.57
7.4.260.0080.00016.54
7.4.250.0030.00316.43
7.4.240.0030.00416.42
7.4.230.0000.00716.26
7.4.220.0120.00616.50
7.4.210.0090.00516.61
7.4.200.0000.00716.38
7.4.190.0070.00016.61
7.4.160.0120.00416.23
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0120.00516.33
7.4.120.0110.00716.31
7.4.110.0130.00416.43
7.4.100.0220.00316.49
7.4.90.0140.00316.35
7.4.80.0030.01319.39
7.4.70.0050.01116.36
7.4.60.0100.01016.43
7.4.50.0040.00016.54
7.4.40.0070.01022.77
7.4.30.0060.01416.46
7.4.10.0090.01014.75
7.4.00.0050.01214.91
7.3.330.0020.00212.96
7.3.320.0000.00513.02
7.3.310.0020.00516.29
7.3.300.0040.00416.12
7.3.290.0100.00516.20
7.3.280.0050.01216.22
7.3.270.0140.00317.40
7.3.260.0120.00616.68
7.3.250.0070.01316.28
7.3.240.0100.01316.52
7.3.230.0150.00616.39
7.3.210.0170.00616.41
7.3.200.0090.00919.39
7.3.190.0030.01316.55
7.3.180.0130.00316.42
7.3.170.0100.01116.72
7.3.160.0060.00916.42
7.3.130.0030.01114.81
7.3.120.0110.00614.83
7.3.110.0070.00914.70
7.3.100.0050.01214.77
7.3.90.0080.00714.85
7.3.80.0080.00514.65
7.3.70.0040.01214.67
7.3.60.0060.00914.65
7.3.50.0090.00714.46
7.3.40.0080.00714.50
7.3.30.0050.01014.60
7.3.20.0030.00916.66
7.3.10.0010.00916.37
7.3.00.0060.01016.45
7.2.330.0100.00716.68
7.2.320.0150.00916.52
7.2.310.0090.01316.42
7.2.300.0120.00816.66
7.2.290.0040.01416.46
7.2.260.0060.01314.67
7.2.250.0100.00815.00
7.2.240.0070.00914.94
7.2.230.0080.00714.99
7.2.220.0060.00814.75
7.2.210.0050.00914.85
7.2.200.0050.00914.83
7.2.190.0060.00514.84
7.2.180.0040.00914.78
7.2.170.0070.00814.92
7.2.160.0070.00714.63
7.2.150.0060.00816.71
7.2.140.0050.00816.73
7.2.130.0070.00916.86
7.2.120.0060.00816.71
7.2.110.0050.00916.80
7.2.100.0050.01016.63
7.2.90.0060.00816.89
7.2.80.0060.00916.77
7.2.70.0070.00816.89
7.2.60.0080.00716.78
7.2.50.0080.00616.68
7.2.40.0050.00816.88
7.2.30.0060.00916.81
7.2.20.0060.00516.79
7.2.10.0050.00816.93
7.2.00.0080.00617.41
7.1.330.0050.00815.66
7.1.320.0030.01215.76
7.1.310.0070.00815.82
7.1.300.0110.00215.72
7.1.290.0040.00915.55
7.1.280.0070.00815.70
7.1.270.0030.00815.57
7.1.260.0060.00515.81
7.1.250.0050.00815.74
7.1.240.0050.00815.73
7.1.230.0050.01015.52
7.1.220.0020.01315.73
7.1.210.0030.01015.55
7.1.200.0090.00515.63
7.1.190.0020.01315.75
7.1.180.0040.00915.56
7.1.170.0010.01015.59
7.1.160.0040.01215.70
7.1.150.0030.00915.64
7.1.140.0100.00515.56
7.1.130.0050.00615.71
7.1.120.0080.00615.79
7.1.110.0050.00815.64
7.1.100.0040.01016.45
7.1.90.0040.01115.58
7.1.80.0080.00515.45
7.1.70.0050.00916.17
7.1.60.0050.01217.07
7.1.50.0050.00915.99
7.1.40.0060.00715.78
7.1.30.0090.00715.59
7.1.20.0000.01215.76
7.1.10.0100.00215.50
7.1.00.0010.02017.92
7.0.330.0030.01015.40
7.0.320.0040.00915.28
7.0.310.0060.00915.18
7.0.300.0030.00815.36
7.0.290.0100.00315.16
7.0.280.0030.00915.49
7.0.270.0060.00515.26
7.0.260.0050.00715.13
7.0.250.0030.01015.32
7.0.240.0060.00415.32
7.0.230.0020.01115.37
7.0.220.0020.01215.47
7.0.210.0050.01015.35
7.0.200.0020.00715.88
7.0.190.0050.00715.43
7.0.180.0040.00815.50
7.0.170.0030.01115.30
7.0.160.0030.01015.42
7.0.150.0110.00315.26
7.0.140.0050.03017.65
7.0.130.0040.00515.50
7.0.120.0040.00915.62
7.0.110.0050.00715.34
7.0.100.0070.00815.37
7.0.90.0050.00515.29
7.0.80.0100.00515.55
7.0.70.0050.02317.40
7.0.60.0070.02717.49
7.0.50.0040.02017.53
7.0.40.0040.01715.57
7.0.30.0060.02315.63
7.0.20.0060.01715.71
7.0.10.0050.01615.56
7.0.00.0060.01315.64
5.6.400.0070.00814.31
5.6.390.0020.01114.57
5.6.380.0020.01114.34
5.6.370.0120.00414.27
5.6.360.0050.00914.30
5.6.350.0050.01014.21
5.6.340.0070.00614.26
5.6.330.0100.00514.45
5.6.320.0090.00514.24
5.6.310.0050.00714.32
5.6.300.0050.01114.50
5.6.290.0070.00814.41
5.6.280.0060.02716.70
5.6.270.0050.00614.37
5.6.260.0010.00714.26
5.6.250.0040.00714.38
5.6.240.0120.00514.37
5.6.230.0030.01014.38
5.6.220.0030.02016.51
5.6.210.0030.02516.38
5.6.200.0030.01916.62
5.6.190.0050.02416.51
5.6.180.0040.01616.57
5.6.170.0040.02016.37
5.6.160.0040.01916.57
5.6.150.0040.01916.52
5.6.140.0060.03116.45
5.6.130.0080.03016.46
5.6.120.0040.03716.47
5.6.110.0040.03516.56
5.6.100.0040.03316.45
5.6.90.0090.02616.55
5.6.80.0040.02616.27
5.6.70.0070.01616.35
5.6.60.0030.02116.21
5.6.50.0130.02516.33
5.6.40.0050.03016.37
5.6.30.0020.02616.17
5.6.20.0140.02116.26
5.6.10.0030.03116.33
5.6.00.0040.02016.19
5.5.380.0070.00814.20
5.5.370.0030.00914.09
5.5.360.0040.02416.32
5.5.350.0040.02116.14
5.5.340.0040.02416.39
5.5.330.0050.01516.48
5.5.320.0040.01616.51
5.5.310.0050.01716.45
5.5.300.0030.01716.50
5.5.290.0070.03316.34
5.5.280.0040.02516.27
5.5.270.0060.03316.58
5.5.260.0040.03216.57
5.5.250.0050.02116.23
5.5.240.0040.02916.07
5.5.230.0060.02016.13
5.5.220.0040.03116.06
5.5.210.0020.03416.18
5.5.200.0050.01716.16
5.5.190.0060.02816.13
5.5.180.0050.03116.15
5.5.170.0040.01014.07
5.5.160.0040.01616.13
5.5.150.0070.03116.09
5.5.140.0020.02916.18
5.5.130.0080.02216.20
5.5.120.0080.02916.20
5.5.110.0100.02015.99
5.5.100.0060.03116.14
5.5.90.0010.03415.99
5.5.80.0060.02116.12
5.5.70.0060.02316.23
5.5.60.0030.03116.05
5.5.50.0040.02516.14
5.5.40.0020.02316.16
5.5.30.0080.01915.87
5.5.20.0070.02916.11
5.5.10.0040.03115.95
5.5.00.0060.02315.86
5.4.450.0040.03413.76
5.4.440.0000.02013.78
5.4.430.0020.03313.74
5.4.420.0030.03313.82
5.4.410.0060.02913.67
5.4.400.0010.03213.65
5.4.390.0030.02113.59
5.4.380.0050.01813.58
5.4.370.0070.01913.65
5.4.360.0050.01913.63
5.4.350.0010.03113.70
5.4.340.0030.03513.70
5.4.330.0030.00510.99
5.4.320.0070.02613.66
5.4.310.0050.01913.62
5.4.300.0050.02813.35
5.4.290.0070.02513.57
5.4.280.0060.02813.55
5.4.270.0040.02313.45
5.4.260.0050.02413.49
5.4.250.0030.02613.61
5.4.240.0060.01513.45
5.4.230.0030.03113.52
5.4.220.0080.02413.54
5.4.210.0060.02913.48
5.4.200.0060.01713.58
5.4.190.0060.01813.48
5.4.180.0020.02513.52
5.4.170.0010.02613.61
5.4.160.0040.02813.59
5.4.150.0030.02913.64
5.4.140.0040.02912.77
5.4.130.0070.02312.71
5.4.120.0060.01712.77
5.4.110.0040.02412.89
5.4.100.0080.02012.59
5.4.90.0010.02912.52
5.4.80.0070.02312.66
5.4.70.0060.02512.65
5.4.60.0060.02212.70
5.4.50.0070.02212.66
5.4.40.0040.02612.74
5.4.30.0040.03112.78
5.4.20.0040.02312.76
5.4.10.0060.02712.63
5.4.00.0020.02312.36
5.3.290.0020.03311.74
5.3.280.0040.02611.69
5.3.270.0060.02811.90
5.3.260.0040.02811.83
5.3.250.0020.03111.70
5.3.240.0020.03011.79
5.3.230.0020.03111.70
5.3.220.0040.02011.71
5.3.210.0030.03111.70
5.3.200.0040.02711.80
5.3.190.0020.03011.84
5.3.180.0050.02911.90
5.3.170.0030.02211.81
5.3.160.0040.03011.88
5.3.150.0030.02111.93
5.3.140.0040.02911.88
5.3.130.0090.02411.69
5.3.120.0060.02811.73
5.3.110.0060.01911.90
5.3.100.0060.02311.63
5.3.90.0060.02111.66
5.3.80.0030.02811.43
5.3.70.0060.02211.44
5.3.60.0080.02411.57
5.3.50.0030.02811.36
5.3.40.0050.02611.43
5.3.30.0050.02211.47
5.3.20.0010.02711.39
5.3.10.0030.02411.25
5.3.00.0050.02511.20
5.2.170.0070.05013.01
5.2.160.0000.05313.01
5.2.150.0030.05713.01
5.2.140.0030.06013.01
5.2.130.0000.06313.01
5.2.120.0030.06013.01
5.2.110.0070.04313.01
5.2.100.0070.04013.01
5.2.90.0000.05313.01
5.2.80.0070.04013.01
5.2.70.0030.04313.01
5.2.60.0070.06313.01
5.2.50.0070.06013.01
5.2.40.0030.06313.01
5.2.30.0000.06713.01
5.2.20.0000.07013.01
5.2.10.0030.05713.01
5.2.00.0030.06013.01
5.1.60.0000.04013.01
5.1.50.0030.04013.01
5.1.40.0000.05713.01
5.1.30.0030.05313.01
5.1.20.0000.06013.01
5.1.10.0070.05313.01
5.1.00.0000.04713.01
5.0.50.0030.05013.01
5.0.40.0000.04313.01
5.0.30.0000.06313.01
5.0.20.0000.04013.01
5.0.10.0070.04013.01
5.0.00.0000.07013.01
4.4.90.0000.03713.01
4.4.80.0130.02013.01
4.4.70.0070.02313.01
4.4.60.0000.02013.01
4.4.50.0030.03313.01
4.4.40.0000.05313.01
4.4.30.0030.03713.01
4.4.20.0030.02313.01
4.4.10.0000.02713.01
4.4.00.0000.04713.01
4.3.110.0000.04013.01
4.3.100.0030.03013.01
4.3.90.0000.04013.01
4.3.80.0000.05313.01
4.3.70.0030.03013.01
4.3.60.0000.03313.01
4.3.50.0000.03713.01
4.3.40.0000.04013.01
4.3.30.0030.03313.01
4.3.20.0030.03013.01
4.3.10.0000.03013.01
4.3.00.0000.04013.01

preferences:
43.84 ms | 400 KiB | 5 Q