3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = hex2bin('570069006e0064006f00770073002000530075006200730079007300740065006d00200066006f00720020004c0069006e0075007800200044006900730074007200690062007500740069006f006e0073003a000d000d000a005500620075006e00740075002d00310036002e003000340020002800440065006600610075006c00740029000d000d000a00'); $str = iconv('UTF-16LE', 'UTF-8', $str); $str = str_replace("\r\n", "\n", $str); var_dump($str);

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.60.0120.00616.50
8.3.50.0070.00716.38
8.3.40.0090.00618.67
8.3.30.0120.00918.46
8.3.20.0000.00920.40
8.3.10.0050.00322.05
8.3.00.0080.00020.77
8.2.180.0120.00616.48
8.2.170.0070.00722.96
8.2.160.0080.00522.11
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0080.00418.89
8.2.110.0170.00020.52
8.2.100.0120.00017.91
8.2.90.0040.00420.63
8.2.80.0030.00517.97
8.2.70.0080.00017.91
8.2.60.0080.00318.03
8.2.50.0000.00818.10
8.2.40.0060.00319.36
8.2.30.0040.00419.23
8.2.20.0040.00418.02
8.2.10.0030.00519.28
8.2.00.0000.00719.22
8.1.280.0040.01525.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00723.78
8.1.230.0110.00020.80
8.1.220.0040.00417.74
8.1.210.0040.00419.18
8.1.200.0030.00517.35
8.1.190.0060.00319.01
8.1.180.0040.00418.10
8.1.170.0050.00318.38
8.1.160.0030.00318.91
8.1.150.0000.00718.87
8.1.140.0000.00720.18
8.1.130.0030.00319.94
8.1.120.0000.00717.43
8.1.110.0000.01017.43
8.1.100.0050.00317.40
8.1.90.0040.00417.42
8.1.80.0040.00417.36
8.1.70.0000.00717.26
8.1.60.0080.00017.50
8.1.50.0050.00317.31
8.1.40.0050.00517.47
8.1.30.0040.00417.59
8.1.20.0030.00617.52
8.1.10.0030.00617.48
8.1.00.0040.00417.31
8.0.300.0040.00420.02
8.0.290.0000.01016.75
8.0.280.0000.00718.31
8.0.270.0030.00317.22
8.0.260.0070.00020.00
8.0.250.0030.00316.82
8.0.240.0030.00516.85
8.0.230.0030.00316.83
8.0.220.0000.00716.82
8.0.210.0030.00416.71
8.0.200.0030.00616.86
8.0.190.0040.00417.01
8.0.180.0040.00416.81
8.0.170.0070.00516.92
8.0.160.0050.00316.85
8.0.150.0030.00616.80
8.0.140.0070.00016.78
8.0.130.0030.00313.30
8.0.120.0100.00017.00
8.0.110.0000.00817.05
8.0.100.0060.00317.06
8.0.90.0030.00716.91
8.0.80.0100.00716.96
8.0.70.0000.00916.88
8.0.60.0000.00817.03
8.0.50.0000.00916.80
8.0.30.0160.00517.15
8.0.20.0080.01317.29
8.0.10.0030.00717.03
8.0.00.0110.00816.84
7.4.330.0030.00315.55
7.4.320.0000.00616.39
7.4.300.0030.00316.52
7.4.290.0040.00416.55
7.4.280.0080.00016.43
7.4.270.0030.00516.37
7.4.260.0030.00313.21
7.4.250.0040.00416.49
7.4.240.0050.00516.67
7.4.230.0000.00916.61
7.4.220.0040.00516.69
7.4.210.0070.01216.65
7.4.200.0080.00016.64
7.4.130.0100.01016.67
7.4.120.0100.01016.58
7.4.110.0040.01516.72
7.4.100.0070.01416.62
7.4.90.0100.01016.73
7.4.80.0120.02619.39
7.4.70.0110.00916.50
7.4.60.0060.01316.49
7.4.50.0080.01016.46
7.4.40.0090.01016.65
7.4.30.0110.00816.38
7.4.20.0070.01316.61
7.4.10.0140.00616.49
7.4.00.0080.01315.97
7.3.330.0040.00416.26
7.3.320.0050.00013.00
7.3.310.0000.00816.24
7.3.300.0040.00416.33
7.3.290.0060.00316.35
7.3.280.0130.00316.20
7.3.260.0070.01316.41
7.3.240.0070.01216.53
7.3.230.0090.00916.30
7.3.210.0060.01316.26
7.3.200.0100.01316.57
7.3.190.0030.01616.42
7.3.180.0100.01216.46
7.3.170.0050.01316.46
7.3.160.0090.01316.29
7.3.150.0140.00416.34
7.3.140.0110.00716.55
7.3.130.0000.01716.58
7.3.120.0060.01216.42
7.3.110.0030.01416.44
7.3.100.0060.01115.66
7.3.90.0060.01215.54
7.3.80.0100.00915.57
7.3.70.0080.01615.63
7.3.60.0100.01215.46
7.3.50.0120.00515.49
7.3.40.0060.01115.45
7.3.30.0120.01015.60
7.3.20.0140.00915.58
7.3.10.0100.00915.33
7.3.00.0050.01415.61
7.2.330.0080.01416.66
7.2.320.0100.01016.55
7.2.310.0050.01316.64
7.2.300.0080.01416.57
7.2.290.0050.01316.70
7.2.280.0070.01116.77
7.2.270.0030.01616.83
7.2.260.0110.00716.49
7.2.250.0170.00316.49
7.2.240.0140.00316.55
7.2.230.0090.01115.62
7.2.220.0060.01415.73
7.2.210.0120.01115.65
7.2.200.0080.01015.76
7.2.190.0130.00515.63
7.2.180.0070.01315.56
7.2.170.0140.01215.63
7.2.160.0150.00415.74
7.2.150.0100.01215.70
7.2.140.0080.01015.79
7.2.130.0110.00715.79
7.2.120.0050.01415.83
7.2.110.0100.00915.77
7.2.100.0120.01115.75
7.2.90.0090.01215.84
7.2.80.0090.01315.76
7.2.70.0130.01115.67
7.2.60.0150.00915.68
7.2.50.0120.00915.78
7.2.40.0130.01015.75
7.2.30.0050.01316.01
7.2.20.0110.00615.67
7.2.10.0280.01015.78
7.2.00.0060.01215.80
7.1.330.0110.00715.55
7.1.320.0100.00814.70
7.1.310.0150.00914.73
7.1.300.0070.01214.71
7.1.290.0060.01214.72
7.1.280.0160.01514.60
7.1.270.0100.01214.71
7.1.260.0110.00614.74
7.1.250.0060.01214.53
7.1.240.0860.00715.55
7.1.230.0080.01115.60
7.1.220.0030.02415.42
7.1.210.0110.01115.72
7.1.200.0030.02115.74
7.1.190.0030.01615.54
7.1.180.0110.00815.68
7.1.170.0070.01015.63
7.1.160.0060.01115.48
7.1.150.0100.01415.51
7.1.140.0060.01215.54
7.1.130.0090.01215.55
7.1.120.0070.01115.66
7.1.110.0060.01215.38
7.1.100.0080.01115.48
7.1.90.0060.01215.67
7.1.80.0110.01415.58
7.1.70.0110.00715.50
7.1.60.0140.00515.51
7.1.50.0060.01315.61
7.1.40.0000.01915.59
7.1.30.0080.01515.61
7.1.20.0060.01215.73
7.1.10.0090.00915.48
7.1.00.0060.01215.47

preferences:
40.73 ms | 400 KiB | 5 Q