3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '"Compilers are fun. They take nice, human readable languages like PHP or Hack and turn them into lean, mean, CPU executin&#039; turing machines. Some of these are simple enough a CS student can write one up in a weekend, some are the products of decades of fine tuning and careful architecting. Somewhere in that proud&hellip;"'; print html_entity_decode($str, ENT_QUOTES) . "\r\n"; print html_entity_decode($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.0040.01118.30
8.3.50.0120.01021.88
8.3.40.0090.00618.73
8.3.30.0150.00419.04
8.3.20.0030.00620.16
8.3.10.0040.00420.38
8.3.00.0030.00619.56
8.2.180.0140.00718.15
8.2.170.0040.01122.96
8.2.160.0030.01020.52
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00722.23
8.2.110.0070.00320.92
8.2.100.0050.00517.78
8.2.90.0020.00519.21
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00917.93
8.2.50.0040.00418.07
8.2.40.0040.00418.28
8.2.30.0050.00219.30
8.2.20.0000.00717.66
8.2.10.0050.00318.05
8.2.00.0040.00417.52
8.1.280.0070.01025.92
8.1.270.0040.00421.88
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0090.00021.28
8.1.230.0060.00617.42
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.13
8.1.180.0030.00518.10
8.1.170.0030.00518.51
8.1.160.0020.00521.96
8.1.150.0050.00318.88
8.1.140.0080.00017.51
8.1.130.0030.00317.74
8.1.120.0000.00717.41
8.1.110.0030.00517.47
8.1.100.0000.00717.48
8.1.90.0000.00817.45
8.1.80.0070.00017.50
8.1.70.0030.00317.34
8.1.60.0060.00317.57
8.1.50.0000.00817.52
8.1.40.0000.00817.50
8.1.30.0050.00317.70
8.1.20.0000.00717.65
8.1.10.0070.00017.55
8.1.00.0050.00217.45
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.32
8.0.270.0060.00317.19
8.0.260.0040.00417.26
8.0.250.0070.00016.99
8.0.240.0030.00316.88
8.0.230.0070.00016.95
8.0.220.0000.00616.77
8.0.210.0000.00716.88
8.0.200.0040.00416.96
8.0.190.0030.00616.94
8.0.180.0000.01016.81
8.0.170.0060.00316.81
8.0.160.0040.00416.96
8.0.150.0000.00716.77
8.0.140.0040.00416.88
8.0.130.0030.00313.36
8.0.120.0000.00716.83
8.0.110.0070.00016.83
8.0.100.0070.00016.83
8.0.90.0000.00816.93
8.0.80.0110.00416.94
8.0.70.0070.00016.72
8.0.60.0050.00316.70
8.0.50.0020.00516.70
8.0.30.0060.01217.08
8.0.20.0070.01317.40
8.0.10.0000.00716.83
8.0.00.0110.00616.64
7.4.330.0050.00015.00
7.4.320.0000.00616.54
7.4.300.0060.00016.52
7.4.290.0030.00316.53
7.4.280.0040.00416.47
7.4.270.0040.00416.59
7.4.260.0070.00016.35
7.4.250.0040.00416.39
7.4.240.0030.00416.43
7.4.230.0030.00316.61
7.4.220.0110.00716.40
7.4.210.0030.01016.65
7.4.200.0030.00316.57
7.4.160.0140.00316.22
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0080.01116.52
7.4.120.0080.00916.41
7.4.110.0060.01116.46
7.4.100.0160.00016.53
7.4.90.0030.01416.52
7.4.80.0060.01116.36
7.4.70.0040.01416.38
7.4.60.0080.01416.63
7.4.50.0000.00816.45
7.4.40.0060.01016.39
7.4.30.0040.01116.31
7.4.00.0060.01114.97
7.3.330.0000.00612.94
7.3.320.0060.00013.08
7.3.310.0000.00716.11
7.3.300.0030.00316.04
7.3.290.0160.01316.28
7.3.280.0080.00816.19
7.3.270.0070.01117.40
7.3.260.0130.00416.25
7.3.250.0090.00916.36
7.3.240.0090.00916.13
7.3.230.0110.00716.49
7.3.210.0100.00716.31
7.3.200.0130.00419.39
7.3.190.0100.01016.22
7.3.180.0100.00716.11
7.3.170.0130.00716.27
7.3.160.0060.00916.14
7.3.120.0040.01414.60
7.3.110.0000.01214.52
7.3.100.0040.00814.70
7.3.90.0030.01014.71
7.3.80.0030.00914.99
7.3.70.0070.00714.68
7.3.60.0060.00914.47
7.3.50.0080.00314.68
7.3.40.0100.00714.74
7.3.30.0120.00314.47
7.3.20.0110.00016.57
7.3.10.0080.00516.55
7.3.00.0080.00316.42
7.2.330.0120.00616.19
7.2.320.0090.00916.56
7.2.310.0100.00716.28
7.2.300.0130.01016.66
7.2.290.0110.00716.57
7.2.250.0060.00914.89
7.2.240.0110.00815.05
7.2.230.0080.00814.63
7.2.220.0070.00714.88
7.2.210.0060.00914.88
7.2.200.0040.01114.93
7.2.190.0050.00514.72
7.2.180.0040.01114.62
7.2.170.0100.00615.02
7.2.160.0060.00914.80
7.2.150.0120.00316.81
7.2.140.0060.00916.76
7.2.130.0060.00716.81
7.2.120.0060.00716.77
7.2.110.0080.00616.60
7.2.100.0050.00816.84
7.2.90.0100.00616.73
7.2.80.0040.00916.76
7.2.70.0030.01116.48
7.2.60.0050.00816.75
7.2.50.0030.00616.90
7.2.40.0070.00516.79
7.2.30.0000.01216.70
7.2.20.0020.01116.75
7.2.10.0100.00216.66
7.2.00.0060.00717.66
7.1.330.0070.01015.55
7.1.320.0100.00315.54
7.1.310.0040.00415.61
7.1.300.0030.00615.64
7.1.290.0060.00615.41
7.1.280.0070.00715.70
7.1.270.0030.00915.92
7.1.260.0060.00615.50
7.1.250.0020.00815.61
7.1.240.0030.00515.39
7.1.230.0030.00915.63
7.1.220.0110.00315.69
7.1.210.0070.00715.58
7.1.200.0030.00915.71
7.1.190.0080.00615.66
7.1.180.0000.01115.54
7.1.170.0060.00615.66
7.1.160.0110.00315.66
7.1.150.0030.00815.86
7.1.140.0000.01515.87
7.1.130.0060.00915.83
7.1.120.0120.00315.72
7.1.110.0040.00715.59
7.1.100.0070.00817.06
7.1.90.0130.00015.68
7.1.80.0110.00315.74
7.1.70.0000.01016.09
7.1.60.0070.01117.50
7.1.50.0040.01316.27
7.1.40.0050.00315.77
7.1.30.0030.00915.79
7.1.20.0070.00715.80
7.1.10.0090.00615.82
7.1.00.0050.03919.13
7.0.330.0070.00715.15
7.0.320.0040.00715.07
7.0.310.0110.00015.09
7.0.300.0060.00915.16
7.0.290.0030.00615.38
7.0.280.0030.01015.38
7.0.270.0080.00815.40
7.0.260.0090.00315.29
7.0.250.0090.00615.40
7.0.240.0070.00715.45
7.0.230.0070.00715.11
7.0.220.0000.01415.06
7.0.210.0000.01215.23
7.0.200.0050.00616.04
7.0.190.0030.01015.35
7.0.180.0030.01015.39
7.0.170.0030.00915.04
7.0.160.0100.00314.99
7.0.150.0030.00815.22
7.0.140.0050.03718.66
7.0.130.0040.00415.34
7.0.120.0070.00715.32
7.0.110.0040.04518.56
7.0.100.0060.03918.52
7.0.90.0050.03518.48
7.0.80.0060.03018.46
7.0.70.0060.04318.40
7.0.60.0090.03918.51
7.0.50.0080.04018.54
7.0.40.0110.02616.56
7.0.30.0030.03416.62
7.0.20.0020.04616.41
7.0.10.0050.04316.63
7.0.00.0030.03816.47
5.6.400.0060.00314.57
5.6.390.0030.01014.54
5.6.380.0030.00614.33
5.6.370.0030.00714.10
5.6.360.0030.01214.48
5.6.350.0090.00314.28
5.6.340.0040.01114.49
5.6.330.0100.00314.28
5.6.320.0060.00314.50
5.6.310.0040.00814.32
5.6.300.0000.01114.31
5.6.290.0040.00914.11
5.6.280.0090.03317.68
5.6.270.0100.00714.35
5.6.260.0030.02417.56
5.6.250.0060.04117.32
5.6.240.0070.04317.51
5.6.230.0070.04217.38
5.6.220.0050.04317.41
5.6.210.0060.03817.56
5.6.200.0030.04917.44
5.6.190.0070.03717.33
5.6.180.0050.03017.59
5.6.170.0090.04217.36
5.6.160.0020.04417.51
5.6.150.0050.02717.44
5.6.140.0060.04017.39
5.6.130.0070.04117.41
5.6.120.0000.04617.51
5.6.110.0050.04717.51
5.6.100.0030.04517.50
5.6.90.0030.04717.47
5.6.80.0070.04217.04
5.6.70.0050.04217.23
5.6.60.0070.04216.89
5.6.50.0050.04417.09
5.6.40.0020.04516.98
5.6.30.0050.03917.06
5.6.20.0040.04117.05
5.6.10.0000.04417.03
5.6.00.0030.02517.02
5.5.380.0070.02317.32
5.5.370.0020.04217.21
5.5.360.0030.04117.43
5.5.350.0080.04317.37
5.5.340.0080.04017.57
5.5.330.0050.04317.54
5.5.320.0080.04217.48
5.5.310.0040.04517.63
5.5.300.0020.04717.54
5.5.290.0030.04517.36
5.5.280.0070.04217.57
5.5.270.0070.04317.43
5.5.260.0070.04517.65
5.5.250.0080.04317.35
5.5.240.0030.04017.31
5.5.230.0060.04117.17
5.5.220.0070.03717.20
5.5.210.0080.02617.29
5.5.200.0080.04017.08
5.5.190.0050.04217.09
5.5.180.0110.03517.06
5.5.170.0130.00014.30
5.5.160.0050.04217.04
5.5.150.0090.03517.13
5.5.140.0100.03517.04
5.5.130.0050.04417.01
5.5.120.0030.04317.29
5.5.110.0040.04017.21
5.5.100.0020.02817.04
5.5.90.0030.03817.14
5.5.80.0020.04217.07
5.5.70.0020.04616.93
5.5.60.0050.02717.17
5.5.50.0070.03517.09
5.5.40.0050.02717.16
5.5.30.0030.02317.12
5.5.20.0020.04217.06
5.5.10.0070.04017.04
5.5.00.0070.04117.05
5.4.450.0050.04315.18
5.4.440.0050.04215.00
5.4.430.0040.04315.17
5.4.420.0060.04015.31
5.4.410.0070.03515.09
5.4.400.0000.03414.85
5.4.390.0060.03814.98
5.4.380.0050.04015.02
5.4.370.0080.04015.08
5.4.360.0050.03514.81
5.4.350.0020.04015.04
5.4.340.0000.04415.03
5.4.330.0060.00310.74
5.4.320.0020.04314.96
5.4.310.0020.04314.88
5.4.300.0060.03614.89
5.4.290.0020.04415.01
5.4.280.0050.04315.07
5.4.270.0050.03714.98
5.4.260.0020.04115.07
5.4.250.0100.03214.93
5.4.240.0050.03314.91
5.4.230.0030.04015.00
5.4.220.0090.03315.04
5.4.210.0060.03714.96
5.4.200.0030.03515.00
5.4.190.0010.04315.00
5.4.180.0010.02314.83
5.4.170.0030.04214.93
5.4.160.0080.03314.92
5.4.150.0030.02714.81
5.4.140.0060.03013.52
5.4.130.0030.02313.67
5.4.120.0050.03813.60
5.4.110.0020.04213.56
5.4.100.0050.03713.61
5.4.90.0030.04013.69
5.4.80.0070.03713.62
5.4.70.0030.03313.71
5.4.60.0060.02813.68
5.4.50.0020.04213.72
5.4.40.0050.03213.68
5.4.30.0050.02513.60
5.4.20.0000.04013.51
5.4.10.0060.03513.55
5.4.00.0000.04113.43
5.3.290.0000.07714.60
5.3.280.0070.07014.52
5.3.270.0100.06714.61
5.3.260.0030.07714.39
5.3.250.0070.07014.43
5.3.240.0030.07714.62
5.3.230.0030.07314.61
5.3.220.0000.04714.45
5.3.210.0100.07014.39
5.3.200.0070.07714.48
5.3.190.0070.06714.42
5.3.180.0000.07714.57
5.3.170.0100.07314.66
5.3.160.0100.07314.34
5.3.150.0000.07014.34
5.3.140.0000.08314.62
5.3.130.0030.03714.39
5.3.120.0070.07314.33
5.3.110.0000.08014.35
5.3.100.0070.07314.05
5.3.90.0000.07013.92
5.3.80.0000.04314.07
5.3.70.0030.07013.93
5.3.60.0030.06713.93
5.3.50.0000.07313.89
5.3.40.0030.07313.98
5.3.30.0030.07313.80
5.3.20.0000.07313.61
5.3.10.0000.07013.57
5.3.00.0000.06713.46
5.2.170.0030.05711.63
5.2.160.0070.05711.63
5.2.150.0030.05711.63
5.2.140.0000.06711.63
5.2.130.0000.06011.63
5.2.120.0000.05011.63
5.2.110.0000.04711.63
5.2.100.0000.05711.63
5.2.90.0000.06311.63
5.2.80.0030.06011.63
5.2.70.0000.06311.63
5.2.60.0030.05311.63
5.2.50.0000.06011.63
5.2.40.0030.06011.63
5.2.30.0000.06011.63
5.2.20.0070.06011.63
5.2.10.0070.05011.63
5.2.00.0030.06011.63
5.1.60.0030.02711.63
5.1.50.0030.05011.63
5.1.40.0030.05711.63
5.1.30.0000.05711.63
5.1.20.0030.04711.63
5.1.10.0070.03711.63
5.1.00.0030.06011.63
5.0.50.0030.04311.63
5.0.40.0070.04011.63
5.0.30.0000.06011.63
5.0.20.0000.04311.63
5.0.10.0000.04311.63
5.0.00.0030.06311.63
4.4.90.0000.02311.63
4.4.80.0000.03711.63
4.4.70.0000.02011.63
4.4.60.0030.03311.63
4.4.50.0000.03711.63
4.4.40.0000.05711.63
4.4.30.0030.01711.63
4.4.20.0000.03011.63
4.4.10.0000.02711.63
4.4.00.0000.03311.63
4.3.110.0070.03011.63
4.3.100.0000.03311.63
4.3.90.0030.03311.63
4.3.80.0000.05311.63
4.3.70.0000.03011.63
4.3.60.0000.03311.63
4.3.50.0030.02711.63
4.3.40.0030.04311.63
4.3.30.0070.03011.63
4.3.20.0000.03711.63
4.3.10.0070.02311.63
4.3.00.0000.03011.63

preferences:
41.23 ms | 401 KiB | 5 Q