3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{\&#34;part_no\&#34;:\&#34;CAT 0964747\&#34;,\&#34;qty\&#34;:\&#34;1\&#34;,\&#34;price\&#34;:\&#34;\&#34;,\&#34;discount\&#34;:\&#34;\&#34;,\&#34;net_price_each\&#34;:\&#34;\&#34;,\&#34;net_price_ext\&#34;:\&#34;\&#34;},{\&#34;part_no\&#34;:\&#34;CAT 1003133\&#34;,\&#34;qty\&#34;:\&#34;1\&#34;,\&#34;price\&#34;:\&#34;\&#34;,\&#34;discount\&#34;:\&#34;\&#34;,\&#34;net_price_each\&#34;:\&#34;\&#34;,\&#34;net_price_ext\&#34;:\&#34;\&#34;}'; var_dump(html_entity_decode($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.01416.63
8.3.50.0060.01317.95
8.3.40.0080.00818.72
8.3.30.0040.01118.60
8.3.20.0040.00420.21
8.3.10.0040.00421.91
8.3.00.0040.00423.48
8.2.180.0070.01016.32
8.2.170.0110.00322.96
8.2.160.0030.01020.41
8.2.150.0070.00024.18
8.2.140.0030.00724.66
8.2.130.0140.00022.07
8.2.120.0040.00426.35
8.2.110.0070.00320.89
8.2.100.0000.01018.03
8.2.90.0060.00319.08
8.2.80.0000.00817.97
8.2.70.0090.00017.38
8.2.60.0040.00417.90
8.2.50.0040.00418.10
8.2.40.0000.00822.20
8.2.30.0000.00819.10
8.2.20.0000.00717.87
8.2.10.0000.00717.99
8.2.00.0040.00418.07
8.1.280.0110.00425.92
8.1.270.0050.00320.36
8.1.260.0070.00026.35
8.1.250.0090.00028.09
8.1.240.0030.00622.54
8.1.230.0060.00620.27
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0060.00317.11
8.1.180.0050.00318.10
8.1.170.0030.00518.40
8.1.160.0000.00718.68
8.1.150.0000.00819.97
8.1.140.0040.00417.56
8.1.130.0030.00319.04
8.1.120.0040.00417.26
8.1.110.0050.00317.40
8.1.100.0020.00517.28
8.1.90.0050.00317.41
8.1.80.0000.00717.35
8.1.70.0000.00817.42
8.1.60.0050.00317.46
8.1.50.0030.00617.36
8.1.40.0090.00017.36
8.1.30.0000.00817.46
8.1.20.0000.00817.61
8.1.10.0000.00817.39
8.1.00.0030.00617.23
8.0.300.0050.00219.15
8.0.290.0080.00016.63
8.0.280.0040.00418.32
8.0.270.0040.00417.18
8.0.260.0080.00018.37
8.0.250.0000.00716.82
8.0.240.0030.00316.89
8.0.230.0030.00316.77
8.0.220.0060.00316.73
8.0.210.0040.00416.82
8.0.200.0070.00016.97
8.0.190.0000.00816.79
8.0.180.0000.00716.85
8.0.170.0080.00016.86
8.0.160.0000.00716.81
8.0.150.0030.00616.79
8.0.140.0000.00716.79
8.0.130.0060.00013.25
8.0.120.0040.00416.76
8.0.110.0000.00716.86
8.0.100.0050.00216.80
8.0.90.0040.00316.80
8.0.80.0120.00316.81
8.0.70.0070.00016.59
8.0.60.0000.00716.76
8.0.50.0000.00816.75
8.0.30.0110.00617.03
8.0.20.0100.00817.40
8.0.10.0070.00016.77
8.0.00.0070.01416.73
7.4.330.0040.00415.55
7.4.320.0060.00016.42
7.4.300.0080.00016.41
7.4.290.0040.00416.37
7.4.280.0070.00016.41
7.4.270.0100.00316.50
7.4.260.0040.00416.43
7.4.250.0050.00216.57
7.4.240.0070.00016.46
7.4.230.0000.00716.26
7.4.220.0030.01516.54
7.4.210.0110.00716.43
7.4.200.0030.00316.62
7.4.160.0120.00816.48
7.4.150.0160.00317.40
7.4.140.0100.01017.86
7.4.130.0170.00016.43
7.4.120.0080.01116.41
7.4.110.0100.00716.37
7.4.100.0090.01116.19
7.4.90.0030.01316.53
7.4.80.0110.00619.39
7.4.70.0090.00916.43
7.4.60.0110.00416.43
7.4.50.0040.01116.32
7.4.40.0120.00916.35
7.4.30.0060.01316.41
7.4.00.0050.01214.89
7.3.330.0050.00012.96
7.3.320.0050.00012.86
7.3.310.0070.00016.00
7.3.300.0000.00616.05
7.3.290.0070.00916.10
7.3.280.0060.01016.10
7.3.270.0070.01017.40
7.3.260.0050.01416.26
7.3.250.0140.00616.32
7.3.240.0080.01016.16
7.3.230.0080.00816.48
7.3.210.0120.00316.20
7.3.200.0120.00916.48
7.3.190.0030.01316.25
7.3.180.0140.00316.26
7.3.170.0000.01616.16
7.3.160.0100.00716.08
7.3.120.0130.00614.80
7.3.110.0120.00614.66
7.3.100.0040.01114.43
7.3.90.0030.00614.59
7.3.80.0030.00914.78
7.3.70.0050.00314.34
7.3.60.0060.00914.80
7.3.50.0030.01314.75
7.3.40.0070.01014.33
7.3.30.0040.00414.84
7.3.20.0100.00016.59
7.3.10.0000.01216.37
7.3.00.0050.00716.33
7.2.330.0120.00616.41
7.2.320.0090.00916.53
7.2.310.0060.01016.43
7.2.300.0090.00916.61
7.2.290.0090.00616.47
7.2.250.0030.01014.80
7.2.240.0040.01214.76
7.2.230.0030.01314.80
7.2.220.0070.00714.66
7.2.210.0040.01214.65
7.2.200.0060.01014.50
7.2.190.0090.00614.70
7.2.180.0040.00414.63
7.2.170.0120.00314.68
7.2.130.0070.00416.39
7.2.120.0040.00816.77
7.2.110.0040.00716.54
7.2.100.0030.00716.71
7.2.90.0000.01516.40
7.2.80.0030.00916.66
7.2.70.0030.01016.83
7.2.60.0060.00616.69
7.2.50.0000.01316.61
7.2.40.0040.01116.86
7.2.30.0040.00816.89
7.2.20.0040.00716.92
7.2.10.0000.01616.71
7.2.00.0070.00716.64
7.1.330.0070.00715.91
7.1.320.0040.00415.99
7.1.310.0000.00915.91
7.1.300.0030.00615.73
7.1.290.0080.00015.51
7.1.280.0090.00615.52
7.1.270.0080.00015.63
7.1.260.0080.00415.70
7.1.250.0030.00715.71
7.1.240.0050.00515.70
7.1.230.0090.00315.55
7.1.220.0070.00315.71
7.1.210.0060.00915.30
7.1.200.0050.00815.73
7.1.190.0080.00015.43
7.1.180.0080.00415.80
7.1.170.0060.00615.48
7.1.160.0080.00015.45
7.1.150.0080.00415.77
7.1.140.0060.00315.62
7.1.130.0080.00615.67
7.1.120.0110.00415.30
7.1.110.0080.00015.57
7.1.100.0900.00816.82
7.1.90.0070.01017.12
7.1.80.1370.00816.57
7.1.70.1450.00716.50
7.1.60.0150.00728.36
7.1.50.0140.01128.45
7.1.40.0140.00928.21
7.1.30.0120.01128.16
7.1.20.0140.01028.14
7.1.10.0040.01016.07
7.1.00.0090.00616.39
7.0.330.0100.00315.30
7.0.320.0040.00715.40
7.0.310.0060.00615.34
7.0.300.0060.00615.11
7.0.290.0100.00315.32
7.0.280.0030.01015.37
7.0.270.0030.00514.92
7.0.260.0030.00714.91
7.0.250.0060.00315.19
7.0.240.1030.01216.81
7.0.230.0080.00516.97
7.0.220.1320.00616.24
7.0.210.0070.00616.19
7.0.200.0070.00716.13
7.0.190.0080.00715.97
7.0.180.0060.00815.84
7.0.170.0030.00915.81
7.0.160.0050.00815.91
7.0.150.0060.00715.76
7.0.140.0050.00715.76
7.0.130.1040.00915.50
7.0.120.1070.00815.39
7.0.110.0090.00615.86
7.0.100.0090.00716.02
7.0.90.0070.01015.90
7.0.80.0020.01316.06
7.0.70.0060.00816.00
7.0.60.0940.00915.15
7.0.50.0050.00815.99
7.0.40.0030.01015.38
7.0.30.0870.00814.75
7.0.20.0050.01015.40
7.0.10.0060.00915.41
7.0.00.0060.00615.47
5.6.380.0130.00014.22

preferences:
57.75 ms | 401 KiB | 5 Q