3v4l.org

run code in 300+ PHP versions simultaneously
<?php function rfid($txtarea){ return array_unique(explode("\r\n", $txtarea)); } print_r(rfid("test1\r\ntest2\r\ntest1"));

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.130.0090.00717.82
8.4.120.0050.00422.18
8.4.110.0100.01022.28
8.4.100.0110.00917.49
8.4.90.0090.00518.28
8.4.80.0130.00817.88
8.4.70.0120.00817.50
8.4.60.0120.00918.92
8.4.50.0120.01020.17
8.4.40.0060.01319.45
8.4.30.0120.00918.30
8.4.20.0120.00018.79
8.4.10.0150.00617.39
8.3.260.0130.00716.62
8.3.250.0100.00718.88
8.3.240.0120.00716.40
8.3.230.0110.00916.46
8.3.220.0030.00516.96
8.3.210.0090.00616.50
8.3.200.0040.00416.50
8.3.190.0070.00718.89
8.3.180.0110.00718.17
8.3.170.0030.00517.12
8.3.160.0040.01518.18
8.3.150.0070.01116.55
8.3.140.0080.00317.15
8.3.130.0080.00018.33
8.3.120.0040.00419.05
8.3.110.0060.00318.35
8.3.100.0090.00016.67
8.3.90.0090.00026.77
8.3.80.0070.00317.97
8.3.70.0120.00316.46
8.3.60.0070.00716.50
8.3.50.0100.00817.49
8.3.40.0110.00418.71
8.3.30.0000.01518.51
8.3.20.0080.00020.39
8.3.10.0080.00022.11
8.3.00.0040.00422.55
8.2.290.0110.00820.39
8.2.280.0090.01020.28
8.2.270.0040.00417.06
8.2.260.0090.00618.29
8.2.250.0100.00716.44
8.2.240.0050.00316.45
8.2.230.0070.00720.94
8.2.220.0090.00624.06
8.2.210.0050.00326.77
8.2.200.0050.00516.63
8.2.190.0140.00018.04
8.2.180.0170.00318.41
8.2.170.0150.00322.96
8.2.160.0170.00322.07
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0070.00019.52
8.2.110.0090.00019.29
8.2.100.0080.00617.59
8.2.90.0090.00017.75
8.2.80.0060.00318.65
8.2.70.0080.00017.38
8.2.60.0030.00617.38
8.2.50.0040.00417.55
8.2.40.0030.00619.52
8.2.30.0060.00319.13
8.2.20.0070.00017.91
8.2.10.0000.00819.21
8.2.00.0040.00419.25
8.1.330.0150.00621.76
8.1.320.0100.00916.16
8.1.310.0140.00418.13
8.1.300.0040.00416.35
8.1.290.0040.00418.88
8.1.280.0030.01225.92
8.1.270.0080.00020.56
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00317.23
8.1.230.0110.00018.98
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0030.00616.98
8.1.180.0030.00518.10
8.1.170.0000.00817.62
8.1.160.0070.00018.66
8.1.150.0040.00418.70
8.1.140.0070.00020.74
8.1.130.0080.00020.13
8.1.120.0020.00517.35
8.1.110.0000.00817.21
8.1.100.0040.00417.39
8.1.90.0030.00617.30
8.1.80.0000.00717.25
8.1.70.0080.00317.32
8.1.60.0000.00817.52
8.1.50.0000.00817.36
8.1.40.0000.00817.46
8.1.30.0040.00417.58
8.1.20.0050.00317.42
8.1.10.0040.00417.30
8.1.00.0020.00517.37
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.31
8.0.270.0000.00716.58
8.0.260.0030.00321.99
8.0.250.0050.00216.85
8.0.240.0030.00316.85
8.0.230.0000.00716.86
8.0.220.0060.00316.79
8.0.210.0040.00416.79
8.0.200.0030.00316.68
8.0.190.0030.00616.78
8.0.180.0030.00516.79
8.0.170.0000.00916.76
8.0.160.0000.00716.75
8.0.150.0000.00816.66
8.0.140.0050.00216.73
8.0.130.0060.00013.22
8.0.120.0000.00816.62
8.0.110.0050.00316.72
8.0.100.0040.00416.88
8.0.90.0050.00216.71
8.0.80.0040.01116.76
8.0.70.0030.00316.77
8.0.60.0040.00416.73
8.0.50.0030.00516.83
8.0.30.0100.01016.84
8.0.20.0120.00916.91
8.0.10.0000.00716.74
8.0.00.0030.01516.79
7.4.330.0020.00216.89
7.4.320.0000.00716.41
7.4.300.0040.00416.42
7.4.290.0070.00016.30
7.4.280.0000.00716.54
7.4.270.0060.00016.50
7.4.260.0030.00313.22
7.4.250.0030.00316.34
7.4.240.0020.00516.48
7.4.230.0070.00016.61
7.4.220.0070.00016.54
7.4.210.0070.00916.51
7.4.200.0030.00316.52
7.4.140.0130.00617.86
7.4.130.0180.00616.37
7.4.120.0100.01316.55
7.4.110.0090.00916.36
7.4.100.0040.01716.25
7.4.90.0180.00616.19
7.4.80.0110.00719.39
7.4.70.0080.00816.24
7.4.60.0090.00616.43
7.4.50.0070.01016.48
7.4.40.0100.00716.38
7.4.10.0070.01114.95
7.4.00.0050.01214.88
7.3.330.0060.00016.22
7.3.320.0030.00313.19
7.3.310.0000.00716.05
7.3.300.0000.00716.11
7.3.290.0120.00416.22
7.3.260.0110.00916.48
7.3.240.0090.00916.32
7.3.230.0080.01216.55
7.3.210.0100.00716.27
7.3.200.0090.01316.45
7.3.190.0080.00816.20
7.3.180.0000.01516.29
7.3.170.0110.00716.32
7.3.160.0180.00016.41
7.3.130.0100.00714.68
7.3.120.0060.00914.71
7.3.110.0090.00914.84
7.3.100.0090.00614.53
7.3.90.0090.00914.67
7.3.80.0070.00914.56
7.3.70.0050.01114.66
7.3.60.0100.00314.68
7.3.50.0050.01014.82
7.3.40.0120.00314.77
7.3.30.0040.01314.72
7.3.20.0080.00815.71
7.3.10.0090.00515.62
7.3.00.0120.01416.38
7.2.330.0110.00616.59
7.2.320.0140.00716.57
7.2.310.0120.01216.58
7.2.300.0100.00716.52
7.2.290.0120.00616.29
7.2.260.0030.01514.39
7.2.250.0070.01014.66
7.2.240.0030.01014.73
7.2.230.0070.01114.59
7.2.220.0040.00915.02
7.2.210.0070.00814.77
7.2.200.0060.00914.80
7.2.190.0070.00614.79
7.2.180.0080.00814.62
7.2.170.0070.00714.83
7.2.160.0070.00914.85
7.2.150.0100.00615.78
7.2.140.0040.01015.69
7.2.130.0110.00816.60
7.2.120.0060.01016.79
7.2.110.0080.01016.82
7.2.100.0040.01416.73
7.2.90.0080.01116.81
7.2.80.0110.00716.52
7.2.70.0000.01416.88
7.2.60.0050.01016.89
7.2.50.0050.01016.78
7.2.40.0090.00716.73
7.2.30.0070.00916.78
7.2.20.0050.00816.62
7.2.10.0090.00816.69
7.2.00.0090.00816.62
7.1.330.0100.00315.58
7.1.320.0080.00814.81
7.1.310.0050.01014.56
7.1.300.0050.00814.81
7.1.290.0050.01014.69
7.1.280.0050.00914.84
7.1.270.0050.01014.69
7.1.260.0060.00714.97
7.1.250.0060.00715.80
7.1.240.0030.00715.87
7.1.230.0070.00715.76
7.1.220.0060.01015.62
7.1.210.0080.01215.88
7.1.200.0100.00615.72
7.1.190.0000.00915.60
7.1.180.0040.01115.75
7.1.170.0040.01115.73
7.1.160.0000.01215.53
7.1.150.0060.00315.82
7.1.140.0040.01115.83
7.1.130.0120.00315.78
7.1.120.0070.01015.58
7.1.110.0060.01115.60
7.1.100.0070.00715.85
7.1.90.0060.00615.79
7.1.80.0090.00615.84
7.1.70.0060.01015.72
7.1.60.0030.01315.89
7.1.50.0090.00315.83
7.1.40.0110.00015.94
7.1.30.0070.00715.70
7.1.20.0000.01415.77
7.1.10.0040.00415.70
7.1.00.0040.00415.66

preferences:
32.14 ms | 403 KiB | 5 Q