3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strToHex($string){ $hex = ''; for ($i=0; $i<strlen($string); $i++){ $ord = ord($string[$i]); $hexCode = dechex($ord); $hex .= substr('0'.$hexCode, -2); } return strToUpper($hex); } echo strToHex('The MyThemeShop Updater plugin is required for this theme.'); echo "\n"; echo strToHex('You need to <a href="[plugin_url]">connect with your MyThemeShop account</a> to use the current theme.'); echo "\n"; echo strToHex('Connect now');

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.0170.00018.65
8.3.50.0070.00716.34
8.3.40.0080.00818.64
8.3.30.0110.00418.71
8.3.20.0080.00019.23
8.3.10.0030.00519.14
8.3.00.0000.00819.68
8.2.180.0180.00416.63
8.2.170.0070.00722.96
8.2.160.0030.01020.95
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0090.00019.85
8.2.120.0040.00426.35
8.2.110.0060.00321.11
8.2.100.0040.00817.84
8.2.90.0000.00817.75
8.2.80.0060.00318.92
8.2.70.0000.00917.93
8.2.60.0040.00418.05
8.2.50.0080.00019.23
8.2.40.0030.00619.42
8.2.30.0040.00419.50
8.2.20.0030.00518.01
8.2.10.0080.00018.23
8.2.00.0000.00719.36
8.1.280.0090.00625.92
8.1.270.0040.00423.63
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00019.13
8.1.230.0080.00419.04
8.1.220.0060.00317.91
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.00
8.1.180.0080.00018.10
8.1.170.0000.00818.52
8.1.160.0000.00718.77
8.1.150.0040.00318.73
8.1.140.0000.00817.62
8.1.130.0070.00019.00
8.1.120.0000.01017.30
8.1.110.0030.00517.37
8.1.100.0000.00817.28
8.1.90.0000.00717.27
8.1.80.0000.00717.35
8.1.70.0070.00417.36
8.1.60.0050.00317.60
8.1.50.0040.00417.48
8.1.40.0040.00417.42
8.1.30.0000.00817.54
8.1.20.0000.00717.64
8.1.10.0000.00817.43
8.1.00.0040.00417.50
8.0.300.0000.00819.66
8.0.290.0000.00816.63
8.0.280.0030.00818.42
8.0.270.0030.00517.29
8.0.260.0000.00719.05
8.0.250.0030.00316.94
8.0.240.0040.00416.97
8.0.230.0040.00417.01
8.0.220.0070.00016.90
8.0.210.0050.00316.91
8.0.200.0000.00616.97
8.0.190.0000.00816.95
8.0.180.0070.00016.90
8.0.170.0040.00416.96
8.0.160.0070.00016.92
8.0.150.0080.00016.71
8.0.140.0040.00416.80
8.0.130.0030.00313.35
8.0.120.0000.00816.84
8.0.110.0030.00516.86
8.0.100.0050.00316.88
8.0.90.0000.00716.74
8.0.80.0080.01216.82
8.0.70.0000.00816.64
8.0.60.0000.00716.89
8.0.50.0040.00416.77
8.0.30.0120.00716.95
8.0.20.0090.00917.40
8.0.10.0040.00416.84
8.0.00.0090.00916.86
7.4.330.0000.00615.55
7.4.320.0000.00616.44
7.4.300.0070.00016.50
7.4.290.0030.00316.51
7.4.280.0000.00816.48
7.4.270.0040.00416.46
7.4.260.0030.00316.63
7.4.250.0050.00316.45
7.4.240.0000.00716.46
7.4.230.0000.00716.58
7.4.220.0080.00016.65
7.4.210.0090.00816.54
7.4.200.0000.00716.35
7.4.160.0110.00316.60
7.4.140.0120.00817.86
7.4.130.0140.00416.39
7.4.120.0110.01116.46
7.4.110.0070.01016.54
7.4.100.0070.01016.51
7.4.90.0070.01416.63
7.4.80.0140.00319.39
7.4.70.0100.00716.60
7.4.60.0070.01016.38
7.4.50.0110.00016.43
7.4.40.0100.01316.45
7.4.00.0070.00814.94
7.3.330.0000.00513.40
7.3.320.0030.00313.40
7.3.310.0030.00316.20
7.3.300.0070.00016.36
7.3.290.0000.00716.38
7.3.280.0060.00916.41
7.3.260.0110.00816.38
7.3.240.0110.00916.56
7.3.230.0060.01216.27
7.3.210.0040.01516.64
7.3.200.0060.01016.50
7.3.190.0130.00716.49
7.3.180.0060.00916.51
7.3.170.0030.01416.67
7.3.160.0090.00616.68
7.3.120.0100.00714.84
7.3.110.0040.01514.92
7.3.100.0060.00814.67
7.3.90.0100.00014.86
7.3.80.0030.01014.95
7.3.70.0030.01314.64
7.3.60.0000.01414.96
7.3.50.0030.00714.76
7.3.40.0060.00314.56
7.3.30.0090.00614.90
7.3.20.0070.00316.52
7.3.10.0040.00916.72
7.3.00.0100.00516.59
7.2.330.0200.00016.85
7.2.320.0080.00816.65
7.2.310.0110.00616.90
7.2.300.0070.01116.48
7.2.290.0110.01116.54
7.2.250.0040.00714.87
7.2.240.0100.01015.11
7.2.230.0070.01014.89
7.2.220.0070.00315.11
7.2.210.0060.00615.12
7.2.200.0100.00315.32
7.2.190.0070.00714.97
7.2.180.0040.00815.18
7.2.170.0030.00715.14
7.2.130.0060.00916.67
7.2.120.0140.00317.03
7.2.110.0100.00317.03
7.2.100.0070.00316.97
7.2.90.0040.01116.93
7.2.80.0040.00716.51
7.2.70.0090.00616.64
7.2.60.1540.00916.03
7.2.50.1430.00616.05
7.2.40.1750.00916.07
7.2.30.1820.01116.38
7.2.20.1700.00816.05
7.2.10.1610.01216.30
7.2.00.1730.00916.40
7.1.330.0000.01415.87
7.1.320.0000.01115.98
7.1.310.0060.00915.95
7.1.300.0100.00315.84
7.1.290.0000.01015.74
7.1.280.0060.00915.84
7.1.270.0060.00915.84
7.1.260.0070.00315.98
7.1.250.0030.00615.77
7.1.240.0030.00615.45
7.1.230.0120.00815.73
7.1.220.0030.00515.63
7.1.210.0000.01015.54
7.1.200.0070.00715.82
7.1.190.0090.00315.67
7.1.180.0100.00715.92
7.1.170.1440.01214.83
7.1.160.1510.00916.41
7.1.150.1480.01316.38
7.1.140.1620.00816.26
7.1.130.1890.01116.51
7.1.120.1660.01016.45
7.1.110.1130.01115.94
7.1.100.1320.00616.03
7.1.90.1200.00915.94
7.1.80.1640.00415.84
7.1.70.1690.01215.34
7.1.60.1460.01224.40
7.1.50.1630.01024.44
7.1.40.1530.01324.14
7.1.30.1760.01224.32
7.1.20.1990.00824.21
7.1.10.1790.01015.23
7.1.00.1550.00515.24
7.0.330.0120.00315.49
5.6.380.0030.01014.18

preferences:
41.7 ms | 400 KiB | 5 Q