3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '"shoes":"\u978b\u5b50","canoe":"\u7368\u6728\u821f","dish":"\u789f\u5f62\u885b\u661f\u5929\u7dda","fx_weathervane":"\u98a8\u5411\u8a08","tricycle":"\u4e09\u8f2a\u8eca","horns":"\u725b\u89d2","fx_craw":"\u70cf\u9d09","babieshoes":"\u5b30\u5152\u978b","wateringcan":"\u7051\u6c34\u58fa","umbrella":"\u96e8\u5098","barrel":"\u6728\u6876","matchbox":"\u706b\u67f4\u76d2","trafficcone":"\u4ea4\u901a\u9310","cow":"\u725b","mailbox":"\u90f5\u7bb1","cap":"\u4f11\u9592\u5e3d","plane":"\u98db\u6a5f","syringe":"\u6ce8\u5c04\u5668","key":"\u9470\u5319","barbecue":"\u70e4\u8089\u67b6","fx_kite":"\u98a8\u7b8f","caution":"\u8b66\u544a\u6a19\u8a8c","cigarette":"\u9999\u83f8","bell":"\u9234","pinwheel":"\u7d19\u98a8\u8eca","mappleleaf":"\u6953\u8449","snail":"\u934b\u725b","fx_windchime":"\u98a8\u9234","can":"\u58d3\u6241\u7684\u7f50\u5b50","clock":"\u6642\u9418","chair":"\u6905\u5b50","plush":"\u6cf0\u8fea\u718a","huntingtrophy":"\u72e9\u7375\u6230\u5229\u54c1","rifle":"\u4f86\u798f\u69cd","whiskybottle":"\u5a01\u58eb\u5fcc\u9152\u74f6","skateboard":"\u6ed1\u677f","gutter":"\u5929\u6e9d","axe":"\u65a7\u982d","pan":"\u5e73\u5e95\u934b","wheel":"\u6a61\u81a0\u8f2a\u80ce","spider":"\u8718\u86db","footprint":"\u8173\u5370","butterfly":"\u8774\u8776","rat":"\u8001\u9f20","horseshoe":"\u99ac\u8e44\u9435","fx_cockroach":"\u87d1\u8782","horse":"\u99ac","tincan":"\u7f50\u982d","bazooka":"\u706b\u7bad\u70ae","newspaper":"\u5831\u7d19","doormat":"\u9580\u588a","indianchefhat":"\u5370\u5730\u5b89\u914b\u9577\u5e3d","screwdriver":"\u87ba\u7d72\u8d77\u5b50","apple":"\u860b\u679c","dollard":"\u9214\u7968","hat":"\u6f01\u592b\u5e3d","brokenglass":"\u788e\u73bb\u7483","alarmclock":"\u9b27\u9418","firelight":"\u624b\u96fb\u7b52","tornfabric":"\u85cd\u8272\u5e03\u6599","handledoor":"\u9580\u628a","bucket":"\u6c34\u6876","puma":"\u7f8e\u6d32\u7345","watermelon":"\u897f\u74dc","spiderweb":"\u8718\u86db\u7db2","dogcollar":"\u72d7\u9805\u5708","ladybeetle":"\u74e2\u87f2","tshirt":"T \u6064","squirrel":"\u677e\u9f20","skull":"\u982d\u9aa8","flower":"\u82b1"}'; var_dump($string); $string = iconv('ASCII', 'UTF-8', $string); var_dump($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.60.0040.01116.38
8.3.50.0040.01518.17
8.3.40.0110.00418.63
8.3.30.0000.01418.54
8.3.20.0050.00320.34
8.3.10.0050.00223.53
8.3.00.0090.00019.13
8.2.180.0140.00316.63
8.2.170.0070.00722.96
8.2.160.0120.00820.35
8.2.150.0110.00724.18
8.2.140.0040.00424.66
8.2.130.0030.00617.47
8.2.120.0040.00426.35
8.2.110.0060.00319.33
8.2.100.0090.00317.59
8.2.90.0050.00317.90
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0040.00417.92
8.2.50.0060.00318.07
8.2.40.0050.00319.41
8.2.30.0040.00420.61
8.2.20.0080.00017.52
8.2.10.0040.00418.16
8.2.00.0040.00418.10
8.1.280.0060.00925.92
8.1.270.0040.00423.98
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0110.00023.64
8.1.230.0040.00721.03
8.1.220.0030.00617.74
8.1.210.0050.00318.91
8.1.200.0090.00017.23
8.1.190.0050.00317.10
8.1.180.0050.00318.10
8.1.170.0000.00818.78
8.1.160.0000.00721.95
8.1.150.0040.00418.79
8.1.140.0090.00019.39
8.1.130.0000.00717.55
8.1.120.0040.00417.45
8.1.110.0040.00417.45
8.1.100.0000.00717.34
8.1.90.0020.00517.32
8.1.80.0070.00017.37
8.1.70.0000.00717.41
8.1.60.0040.00417.49
8.1.50.0040.00417.51
8.1.40.0000.00817.41
8.1.30.0030.00517.49
8.1.20.0040.00417.46
8.1.10.0050.00317.33
8.1.00.0000.00917.27
8.0.300.0070.00019.90
8.0.290.0040.00416.63
8.0.280.0070.00018.43
8.0.270.0070.00017.10
8.0.260.0100.00017.23
8.0.250.0000.00716.89
8.0.240.0040.00416.86
8.0.230.0000.00716.91
8.0.220.0050.00316.82
8.0.210.0030.00316.70
8.0.200.0030.00316.88
8.0.190.0040.00416.92
8.0.180.0000.00816.74
8.0.170.0000.00916.84
8.0.160.0060.00316.85
8.0.150.0000.00716.76
8.0.140.0040.00416.77
8.0.130.0000.00513.24
8.0.120.0000.01016.91
8.0.110.0030.00616.99
8.0.100.0060.00316.83
8.0.90.0040.00416.91
8.0.80.0090.01516.84
8.0.70.0030.00616.85
8.0.60.0030.00616.79
8.0.50.0030.00616.84
8.0.30.0070.01417.15
8.0.20.0110.01517.40
8.0.10.0000.00916.99
8.0.00.0090.01216.73
7.4.330.0000.00416.66
7.4.320.0000.00616.48
7.4.300.0070.00016.45
7.4.290.0020.00516.50
7.4.280.0030.00516.45
7.4.270.0040.00416.42
7.4.260.0040.00416.51
7.4.250.0030.00616.64
7.4.240.0030.00516.64
7.4.230.0080.00016.61
7.4.220.0070.01416.52
7.4.210.0100.00616.64
7.4.200.0000.00916.62
7.4.160.0090.00916.59
7.4.150.0100.01017.40
7.4.140.0140.01117.86
7.4.130.0140.00716.47
7.4.120.0100.01016.65
7.4.110.0060.01316.36
7.4.100.0090.01616.66
7.4.90.0120.01516.69
7.4.80.0030.01619.39
7.4.70.0070.01216.34
7.4.60.0070.01216.34
7.4.50.0060.01116.33
7.4.40.0130.00916.48
7.4.30.0040.02016.14
7.4.20.0060.01816.21
7.4.10.0080.01716.41
7.4.00.0100.01015.52
7.3.330.0000.00813.10
7.3.320.0000.00613.05
7.3.310.0030.00516.23
7.3.300.0000.00816.24
7.3.290.0040.01416.26
7.3.280.0100.01216.26
7.3.270.0120.01017.40
7.3.260.0140.00516.71
7.3.240.0130.01016.22
7.3.230.0110.01116.65
7.3.210.0070.01716.24
7.3.200.0160.01016.45
7.3.190.0070.01116.32
7.3.180.0120.00916.29
7.3.170.0130.00716.28
7.3.160.0120.01316.19
7.3.150.0080.01916.26
7.3.140.0120.01316.25
7.3.130.0090.01316.57
7.3.120.0090.01215.74
7.3.110.0100.01215.69
7.3.100.0090.00915.67
7.3.90.0050.01215.67
7.3.80.0040.01415.60
7.3.70.0060.01015.56
7.3.60.0120.00515.54
7.3.50.0080.00915.55
7.3.40.0110.01015.54
7.3.30.0050.01515.50
7.3.20.0050.01616.60
7.3.10.0050.01216.67
7.3.00.0090.00916.60
7.2.330.0170.01116.44
7.2.320.0180.00616.46
7.2.310.0070.01216.69
7.2.300.0080.01216.55
7.2.290.0060.01716.67
7.2.280.0230.00316.71
7.2.270.0060.01716.34
7.2.260.0090.01316.72
7.2.250.0110.01015.90
7.2.240.0130.00815.81
7.2.230.0070.01315.97
7.2.220.0050.01215.88
7.2.210.0100.00916.01
7.2.200.0100.00815.76
7.2.190.0060.00915.69
7.2.180.0140.00915.71
7.2.170.0100.01215.88
7.2.160.0150.01116.66
7.2.150.0210.01116.65
7.2.140.0000.02116.58
7.2.130.0060.01116.88
7.2.120.0060.00916.84
7.2.110.0080.01216.85
7.2.100.0100.00716.87
7.2.90.0100.00616.93
7.2.80.0190.00716.90
7.2.70.0080.01016.73
7.2.60.0090.00916.75
7.2.50.0100.00816.95
7.2.40.0100.00816.87
7.2.30.0080.01016.81
7.2.20.0090.00616.88
7.2.10.0070.00916.82
7.2.00.0070.00917.51
7.1.330.0260.00915.55
7.1.320.0060.00915.64
7.1.310.0070.01015.75
7.1.300.0070.00715.68
7.1.290.0120.00915.72
7.1.280.0090.01015.64
7.1.270.0080.00915.55
7.1.260.0060.01115.65
7.1.250.0090.00715.62
7.1.240.0070.01115.28
7.1.230.0030.01515.49
7.1.220.0040.01615.38
7.1.210.0090.00915.38
7.1.200.0080.00815.66
7.1.190.0090.01515.50
7.1.180.0070.01515.53
7.1.170.0070.01415.55
7.1.160.0110.01115.42
7.1.150.0060.01215.47
7.1.140.0130.00615.46
7.1.130.0120.00615.51
7.1.120.0180.01115.64
7.1.110.0040.01515.62
7.1.100.0060.01016.87
7.1.90.0040.01315.38
7.1.80.0120.00715.56
7.1.70.0040.01116.21
7.1.60.0100.01417.53
7.1.50.0070.01516.28
7.1.40.0350.01115.37
7.1.30.0220.01715.70
7.1.20.0190.01115.69
7.1.10.0240.00915.75
7.1.00.0100.04219.11
7.0.330.0060.01215.29
7.0.320.0120.01215.24
7.0.310.0110.01415.20
7.0.300.0130.00615.32
7.0.290.0070.01415.25
7.0.280.0090.01015.19
7.0.270.0160.00615.32
7.0.260.0140.00915.10
7.0.250.0090.00915.20
7.0.240.0100.00815.36
7.0.230.0170.00015.14
7.0.220.0040.01315.29
7.0.210.0100.00815.12
7.0.200.0070.00616.20
7.0.190.0030.01515.04
7.0.180.0160.01615.31
7.0.170.0200.01015.14
7.0.160.0160.01615.49
7.0.150.0090.01315.32
7.0.140.0100.01015.30
7.0.130.0180.01815.52
7.0.120.0000.01815.15
7.0.110.0030.01515.46
7.0.100.0070.01315.33
7.0.90.0130.01115.21
7.0.80.0200.00315.34
7.0.70.0080.01015.15
7.0.60.0150.03017.51
7.0.50.0080.05016.64
7.0.40.0140.04617.85
7.0.30.0150.03117.71
7.0.20.0260.03517.78
7.0.10.0110.03017.75
7.0.00.0090.02917.75
5.6.400.0160.01215.67
5.6.390.0070.01415.39
5.6.380.0050.01816.09
5.6.370.0080.01716.06
5.6.360.0160.00815.85
5.6.350.0110.01115.78
5.6.340.0060.01515.74
5.6.330.0120.00815.85
5.6.320.0060.01415.72
5.6.310.0200.00015.75
5.6.300.0170.00415.56
5.6.290.0030.01715.85
5.6.280.0070.03318.65
5.6.270.0030.01715.71
5.6.260.0080.01515.89
5.6.250.0110.01515.69
5.6.240.0110.01015.94
5.6.230.0110.00915.66
5.6.220.0100.01615.86
5.6.210.0050.03618.32
5.6.200.0090.04617.02
5.6.190.0070.05318.19
5.6.180.0230.03518.43
5.6.170.0210.03418.22
5.6.160.0120.05118.15
5.6.150.0130.04217.13
5.6.140.0080.02817.08
5.6.130.0030.05117.07
5.6.120.0130.04718.60
5.6.110.0090.03318.51
5.6.100.0080.02718.47
5.6.90.0110.04218.56
5.6.80.0130.04618.17
5.6.70.0110.00815.77
5.6.60.0120.00915.72
5.6.50.0090.01015.76
5.6.40.0180.01515.91
5.6.30.0250.01415.66
5.6.20.0130.01015.80
5.6.10.0100.01015.61
5.6.00.0030.01715.58
5.5.380.0100.01315.77
5.5.370.0120.01215.92
5.5.360.0100.01015.82
5.5.350.1980.02917.98
5.5.340.0060.03516.88
5.5.330.0140.04418.15
5.5.320.0070.04618.12
5.5.310.0240.04518.04
5.5.300.0110.04516.90
5.5.290.0080.05016.88
5.5.280.0120.04818.36
5.5.270.0030.03018.34
5.5.260.0110.04418.28
5.5.250.0060.05418.40
5.5.240.0180.02217.98
5.5.230.0120.00915.66
5.5.220.0180.00815.76
5.5.210.0120.01815.67
5.5.200.0260.00915.73
5.5.190.0250.00915.82
5.5.180.0060.01615.89
5.5.170.0030.01815.70
5.5.160.0030.01715.86
5.5.150.0130.00615.73
5.5.140.0070.01415.72
5.5.130.0000.02015.72
5.5.120.0050.02115.71
5.5.110.0110.01015.75
5.5.100.0130.01315.53
5.5.90.0100.01315.71
5.5.80.0050.01615.88
5.5.70.0100.01015.58
5.5.60.0080.01515.93
5.5.50.0060.01615.67
5.5.40.0160.00615.64
5.5.30.0120.01315.45
5.5.20.0080.01315.66
5.5.10.0100.01015.66
5.5.00.0030.01715.68

preferences:
50.84 ms | 400 KiB | 5 Q