3v4l.org

run code in 300+ PHP versions simultaneously
<?php function expects(array $expected, array $received) { // var_dump($received); var_dump($expected === $received); } $string = '先ÊeĖâ‚Ŧ𐍈💩👩‍ 👩‍❤ī¸â€đŸ‘Š'; $expectedArray = ['先', 'Ê', 'e', 'Ė', 'â‚Ŧ', '𐍈', '💩', '👩', '‍', ' ', '👩', '‍', '❤', 'ī¸', '‍', '👩']; expects($expectedArray, mb_str_split( $string));

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.130.0090.00018.58
8.3.120.0120.00318.84
8.3.110.0070.00016.63
8.3.100.0040.00416.54
8.3.90.0030.00526.77
8.3.80.0030.00718.30
8.3.70.0070.00716.50
8.3.60.0180.00318.55
8.3.50.0080.00817.51
8.3.40.0150.00418.74
8.3.30.0130.00318.53
8.3.20.0040.00421.78
8.3.10.0080.00021.60
8.3.00.0050.00221.87
8.2.250.0160.00316.75
8.2.240.0000.00918.98
8.2.230.0100.00620.94
8.2.220.0000.00937.54
8.2.210.0040.00426.77
8.2.200.0060.00318.54
8.2.190.0040.01216.58
8.2.180.0130.00316.38
8.2.170.0090.00622.96
8.2.160.0040.01120.52
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0030.00619.35
8.2.110.0060.00321.00
8.2.100.0100.00317.72
8.2.90.0040.00417.63
8.2.80.0090.00017.97
8.2.70.0000.00817.93
8.2.60.0040.00418.09
8.2.50.0030.00518.10
8.2.40.0080.00019.34
8.2.30.0040.00420.54
8.2.20.0030.00518.02
8.2.10.0030.00319.05
8.2.00.0040.00417.86
8.1.300.0030.00716.10
8.1.290.0030.00618.88
8.1.280.0130.00325.92
8.1.270.0000.00822.14
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00319.15
8.1.230.0070.00422.81
8.1.220.0080.00017.74
8.1.210.0110.00718.77
8.1.200.0060.00317.23
8.1.190.0060.00317.11
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0000.00718.86
8.1.150.0000.00718.61
8.1.140.0070.00019.05
8.1.130.0060.00320.24
8.1.120.0000.00717.30
8.1.110.0000.00717.37
8.1.100.0040.00417.41
8.1.90.0040.00417.41
8.1.80.0050.00317.27
8.1.70.0050.00317.37
8.1.60.0040.00417.59
8.1.50.0000.00917.52
8.1.40.0000.00917.56
8.1.30.0030.00617.63
8.1.20.0060.00317.56
8.1.10.0000.00817.54
8.1.00.0030.00517.47
8.0.300.0040.00421.85
8.0.290.0080.00016.63
8.0.280.0030.00318.37
8.0.270.0050.00217.19
8.0.260.0030.00318.28
8.0.250.0000.00816.89
8.0.240.0000.00616.73
8.0.230.0040.00416.84
8.0.220.0030.00316.79
8.0.210.0050.00216.69
8.0.200.0000.00616.77
8.0.190.0030.00616.75
8.0.180.0000.00816.82
8.0.170.0030.00516.80
8.0.160.0000.00716.74
8.0.150.0050.00216.79
8.0.140.0000.00816.67
8.0.130.0000.00513.27
8.0.120.0070.00016.68
8.0.110.0040.00416.76
8.0.100.0060.00316.73
8.0.90.0040.00416.71
8.0.80.0080.00816.82
8.0.70.0040.00416.68
8.0.60.0000.00716.69
8.0.50.0040.00416.82
8.0.30.0200.01016.76
8.0.20.0200.00317.17
8.0.10.0040.00417.02
8.0.00.0120.00916.72
7.4.330.0020.00216.63
7.4.320.0040.00416.63
7.4.300.0000.00716.60
7.4.290.0000.00716.57
7.4.280.0040.00416.39
7.4.270.0000.00916.45
7.4.260.0000.00716.49
7.4.250.0030.00316.48
7.4.240.0000.00716.53
7.4.230.0040.00416.57
7.4.220.0000.00716.34
7.4.210.0100.00716.59
7.4.200.0000.00716.70
7.4.160.0060.01216.43
7.4.130.0160.00316.30
7.4.120.0090.00916.44
7.4.110.0070.01116.41
7.4.100.0030.01516.50
7.4.90.0070.01016.50
7.4.80.0100.00619.39
7.4.70.0090.00916.66
7.4.60.0030.01316.46
7.4.50.0100.00316.18
7.4.40.0120.01216.59
7.4.10.0170.00314.95
7.4.00.0050.01114.87
7.3.330.0000.00613.12
7.3.320.0000.00613.29
7.3.310.0030.00316.16
7.3.300.0030.00316.13
7.3.290.0000.00616.18
7.3.280.0050.01216.21
7.3.260.0100.00916.52
7.3.240.0080.01016.40
7.3.230.0130.00316.46
7.3.210.0130.00316.54
7.3.200.0090.00916.61
7.3.190.0090.00916.43
7.3.180.0120.00616.49
7.3.170.0100.01216.33
7.3.160.0030.01316.45
7.3.130.0110.00814.51
7.3.120.0060.01014.71
7.3.110.0080.00914.87
7.3.100.0080.00614.88
7.3.90.0080.00714.80
7.3.80.0070.00814.72
7.3.70.0050.00914.83
7.3.60.0060.00814.62
7.3.50.0070.00714.67
7.3.40.0050.01014.74
7.3.30.0050.00814.69
7.3.20.0080.00716.26
7.3.10.0060.00816.31
7.3.00.0070.00616.30
7.2.330.0090.01316.36
7.2.320.0130.00716.32
7.2.310.0060.01016.59
7.2.300.0040.01116.44
7.2.290.0120.00616.36
7.2.260.0100.01014.78
7.2.250.0060.01314.81
7.2.240.0100.00814.87
7.2.230.0060.01014.79
7.2.220.0070.00614.93
7.2.210.0060.01014.99
7.2.200.0050.00814.90
7.2.190.0050.00914.89
7.2.180.0050.01114.92
7.2.170.0040.01014.92
7.2.160.0110.00814.96
7.2.150.0100.00616.13
7.2.140.0120.00716.00
7.2.130.0070.00916.09
7.2.120.0090.00716.20
7.2.110.0080.00716.08
7.2.100.0070.00916.18
7.2.90.0040.01116.17
7.2.80.0050.01016.19
7.2.70.0060.00716.04
7.2.60.0070.00516.00
7.2.50.0040.00916.10
7.2.40.0140.00316.17
7.2.30.0100.00616.16
7.2.20.0090.00616.10
7.2.10.0060.01116.05
7.2.00.0090.00616.20
7.1.330.0060.00715.67
7.1.320.0020.01015.68
7.1.310.0050.00915.69
7.1.300.0060.00715.49
7.1.290.0060.00815.46
7.1.280.0070.00815.25
7.1.270.0070.00715.24
7.1.260.0070.00715.34
7.1.250.0090.00514.86
7.1.240.0090.00315.79
7.1.230.0070.00715.60
7.1.220.0110.00315.70
7.1.210.0030.00615.74
7.1.200.0000.01315.64
7.1.190.0070.00715.80
7.1.180.0070.00715.79
7.1.170.0000.01115.75
7.1.160.0060.00615.80
7.1.150.0070.00715.61
7.1.140.0070.00715.66
7.1.130.0060.00615.81
7.1.120.0060.00315.64
7.1.110.0030.00615.75
7.1.100.0070.00715.63
7.1.90.0110.00015.75
7.1.80.0040.01115.69
7.1.70.0060.00915.87
7.1.60.0000.01315.66
7.1.50.0040.00415.76
7.1.40.0070.00715.63
7.1.30.0030.01015.80
7.1.20.0030.01015.66
7.1.10.0090.00015.70
7.1.00.0030.00515.77

preferences:
28.08 ms | 403 KiB | 5 Q