@ 2013-03-25T16:23:31Z <?php
$var = "12345";
$time_start = microtime(true);
echo $var[0] . "-" . substr($var,1) . "\n";
$time_end = microtime(true);
echo "\nExecution Time: " . $time_end - $time_start;
$time_start = microtime(true);
echo str_replace($var[0], $var[0].'-', $var) . "\n";
$time_end = microtime(true);
echo "\nExecution Time: " . $time_end - $time_start;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.4.0 Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /in/8Lk2k on line 7
Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /in/8Lk2k on line 12
1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00021-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0003 Output for 7.2.21 - 7.2.22 , 7.2.24 - 7.2.25 , 7.3.4 , 7.3.8 - 7.3.9 , 7.3.11 - 7.3.12 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00021-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0003 Output for 7.3.6 , 7.3.10 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00031-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0003 Output for 7.2.8 , 7.2.11 , 7.2.17 - 7.2.19 , 7.3.3 , 7.3.5 , 7.3.7 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00021-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0002 Output for 7.1.25 - 7.1.26 , 7.1.28 - 7.1.30 , 7.1.32 - 7.1.33 , 7.2.1 , 7.2.3 , 7.2.6 - 7.2.7 , 7.2.12 - 7.2.13 , 7.2.20 , 7.3.0 - 7.3.2 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00011-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0002 Output for 7.2.23 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00031-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0004 Output for 7.1.27 , 7.1.31 , 7.2.2 , 7.2.4 - 7.2.5 , 7.2.9 - 7.2.10 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00011-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0001 Output for 7.2.0 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00011-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0149 Output for 7.1.7 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.0031-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.003 Output for 7.1.6 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.0111-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.011 Output for 7.1.5 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.02021-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0203 Output for 7.1.0 1-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 7
-1364228611.00631-2345
Warning: A non-numeric value encountered in /in/8Lk2k on line 12
-1364228611.0064 Output for 7.0.20 1-2345
-1364228611.00291-2345
-1364228611.0029 Output for 7.0.14 1-2345
-1364228611.00391-2345
-1364228611.0039 Output for 7.0.6 1-2345
-1462286906.61441-2345
-1462286906.6144 Output for 7.0.5 1-2345
-1459653495.6861-2345
-1459653495.6861 Output for 7.0.4 1-2345
-1457625345.03471-2345
-1457625345.0347 Output for 7.0.3 1-2345
-1458319253.4341-2345
-1458319253.434 Output for 7.0.2 1-2345
-1458686849.06711-2345
-1458686849.0672 Output for 7.0.1 1-2345
-1458788252.87571-2345
-1458788252.8757 Output for 7.0.0 1-2345
-1459050868.8241-2345
-1459050868.824 Output for 5.6.28 1-2345
-1364228611.00451-2345
-1364228611.0046 Output for 5.6.21 1-2345
-1462183111.53341-2345
-1462183111.5334 Output for 5.6.20 1-2345
-1460254607.92611-2345
-1460254607.9262 Output for 5.6.19 1-2345
-1457394242.20291-2345
-1457394242.2029 Output for 5.6.18 1-2345
-1458030916.43541-2345
-1458030916.4354 Output for 5.6.17 1-2345
-1458419337.50391-2345
-1458419337.5039 Output for 5.6.16 1-2345
-1459140133.05011-2345
-1459140133.0501 Output for 5.6.15 1-2345
-1459229589.92281-2345
-1459229589.9228 Output for 5.6.14 1-2345
-1459582163.76461-2345
-1459582163.7646 Output for 5.6.13 1-2345
-1460720798.99161-2345
-1460720798.9917 Output for 5.6.12 1-2345
-1461118393.73561-2345
-1461118393.7357 Output for 5.6.11 1-2345
-1461401010.83481-2345
-1461401010.8349 Output for 5.6.10 1-2345
-1461580740.27861-2345
-1461580740.2786 Output for 5.6.9 1-2345
-1461772043.23891-2345
-1461772043.2389 Output for 5.6.8 1-2345
-1461976295.35871-2345
-1461976295.3587 Output for 5.5.35 1-2345
-1463931680.13691-2345
-1463931680.1369 Output for 5.5.34 1-2345
-1460349035.7991-2345
-1460349035.799 Output for 5.5.33 1-2345
-1457491448.10941-2345
-1457491448.1094 Output for 5.5.32 1-2345
-1458217121.70931-2345
-1458217121.7094 Output for 5.5.31 1-2345
-1458516059.73661-2345
-1458516059.7366 Output for 5.5.30 1-2345
-1459495592.8651-2345
-1459495592.8651 Output for 5.5.29 1-2345
-1460859084.18141-2345
-1460859084.1814 Output for 5.5.28 1-2345
-1461216247.89521-2345
-1461216247.8953 Output for 5.5.27 1-2345
-1461309530.88951-2345
-1461309530.8895 Output for 5.5.26 1-2345
-1461676816.15941-2345
-1461676816.1594 Output for 5.5.25 1-2345
-1461874262.22881-2345
-1461874262.2288 Output for 5.5.24 1-2345
-1464058393.89221-2345
-1464058393.8923 Output for 5.4.45 1-2345
-1448046873.10761-2345
-1448046873.1076 Output for 5.4.44 1-2345
-1448046874.05361-2345
-1448046874.0536 Output for 5.4.43 1-2345
-1448046875.20561-2345
-1448046875.2056 Output for 5.4.42 1-2345
-1448046875.88881-2345
-1448046875.8888 Output for 5.4.41 1-2345
-1448046876.21351-2345
-1448046876.2135 Output for 5.4.40 1-2345
-1448046877.19151-2345
-1448046877.1916 Output for 5.4.39 1-2345
-1448046877.72591-2345
-1448046877.7259 Output for 5.4.38 1-2345
-1448046878.00931-2345
-1448046878.0093 Output for 5.4.37 1-2345
-1448046878.74261-2345
-1448046878.7426 Output for 5.4.36 1-2345
-1448046878.89561-2345
-1448046878.8957 Output for 5.4.35 1-2345
-1448046879.36181-2345
-1448046879.3618 Output for 5.4.34 1-2345
-1448046879.94541-2345
-1448046879.9454 Output for 5.4.32 1-2345
-1448046880.82541-2345
-1448046880.8254 Output for 5.4.31 1-2345
-1448046881.09391-2345
-1448046881.0939 Output for 5.4.30 1-2345
-1448046881.54551-2345
-1448046881.5455 Output for 5.4.29 1-2345
-1448046881.70861-2345
-1448046881.7086 Output for 5.4.28 1-2345
-1448046882.03751-2345
-1448046882.0376 Output for 5.4.27 1-2345
-1448046882.33781-2345
-1448046882.3378 Output for 5.4.26 1-2345
-1448046882.62391-2345
-1448046882.6239 Output for 5.4.25 1-2345
-1448046882.98421-2345
-1448046882.9842 Output for 5.4.24 1-2345
-1448046883.44931-2345
-1448046883.4493 Output for 5.4.23 1-2345
-1448046883.6151-2345
-1448046883.615 Output for 5.4.22 1-2345
-1448046884.34621-2345
-1448046884.3463 Output for 5.4.21 1-2345
-1448046884.49471-2345
-1448046884.4947 Output for 5.4.20 1-2345
-1448046884.79341-2345
-1448046884.7934 Output for 5.4.19 1-2345
-1448046885.35861-2345
-1448046885.3586 Output for 5.4.18 1-2345
-1448046885.67631-2345
-1448046885.6763 Output for 5.4.17 1-2345
-1448046886.18911-2345
-1448046886.1891 Output for 5.4.16 1-2345
-1448046886.6841-2345
-1448046886.684 Output for 5.4.15 1-2345
-1448046886.83851-2345
-1448046886.8385 Output for 5.4.14 1-2345
-1448046887.21631-2345
-1448046887.2164 Output for 5.4.13 1-2345
-1448046887.5561-2345
-1448046887.5561 Output for 5.4.12 1-2345
-1448046887.85551-2345
-1448046887.8555 Output for 5.4.11 1-2345
-1448046888.31151-2345
-1448046888.3115 Output for 5.4.10 1-2345
-1448046888.61881-2345
-1448046888.6188 Output for 5.4.9 1-2345
-1448046888.7441-2345
-1448046888.7441 Output for 5.4.8 1-2345
-1448046889.1791-2345
-1448046889.179 Output for 5.4.7 1-2345
-1448046889.4881-2345
-1448046889.488 Output for 5.4.6 1-2345
-1448046889.6471-2345
-1448046889.647 Output for 5.4.5 1-2345
-1448046890.1281-2345
-1448046890.128 Output for 5.4.4 1-2345
-1448046890.3771-2345
-1448046890.3771 Output for 5.4.3 1-2345
-1448046890.52621-2345
-1448046890.5263 Output for 5.4.2 1-2345
-1448046890.9451-2345
-1448046890.9451 Output for 5.4.1 1-2345
-1448046891.18921-2345
-1448046891.1892 Output for 5.4.0 1-2345
-1448046891.41151-2345
-1448046891.4115 Output for 5.3.29 1-2345
-1448046880.95271-2345
-1448046880.9528 Output for 5.3.28 1-2345
-1448046883.95211-2345
-1448046883.9522 Output for 5.3.27 1-2345
-1448046886.0191-2345
-1448046886.019 Output for 5.3.26 1-2345
-1448046886.47821-2345
-1448046886.4783 Output for 5.3.25 1-2345
-1448046886.9891-2345
-1448046886.9891 Output for 5.3.24 1-2345
-1448046887.35771-2345
-1448046887.3577 Output for 5.3.23 1-2345
-1448046887.70671-2345
-1448046887.7067 Output for 5.3.22 1-2345
-1448046888.00791-2345
-1448046888.008 Output for 5.3.21 1-2345
-1448046888.15471-2345
-1448046888.1547 Output for 5.3.20 1-2345
-1448046888.47771-2345
-1448046888.4778 Output for 5.3.19 1-2345
-1448046888.88071-2345
-1448046888.8807 Output for 5.3.18 1-2345
-1448046889.04881-2345
-1448046889.0489 Output for 5.3.17 1-2345
-1448046889.34391-2345
-1448046889.3439 Output for 5.3.16 1-2345
-1448046889.81031-2345
-1448046889.8104 Output for 5.3.15 1-2345
-1448046890.00861-2345
-1448046890.0087 Output for 5.3.14 1-2345
-1448046890.25131-2345
-1448046890.2514 Output for 5.3.13 1-2345
-1448046890.68811-2345
-1448046890.6881 Output for 5.3.12 1-2345
-1448046890.81231-2345
-1448046890.8123 Output for 5.3.11 1-2345
-1448046891.06641-2345
-1448046891.0664 Output for 5.3.10 1-2345
-1448046891.5721-2345
-1448046891.5721 Output for 5.3.9 1-2345
-1448046891.73031-2345
-1448046891.7303 Output for 5.3.8 1-2345
-1448046891.87051-2345
-1448046891.8705 Output for 5.3.7 1-2345
-1448046892.00131-2345
-1448046892.0014 Output for 5.3.6 1-2345
-1448046892.14241-2345
-1448046892.1424 Output for 5.3.5 1-2345
-1448046892.29571-2345
-1448046892.2957 Output for 5.3.4 1-2345
-1448046892.77921-2345
-1448046892.7792 Output for 5.3.3 1-2345
-1448046893.0811-2345
-1448046893.0811 Output for 5.3.2 1-2345
-1448046893.41781-2345
-1448046893.4179 Output for 5.3.1 1-2345
-1448046893.84891-2345
-1448046893.8489 Output for 5.3.0 1-2345
-1448046894.14921-2345
-1448046894.1492 Output for 5.2.17 1-2345
-1448046892.42721-2345
-1448046892.4273 Output for 5.2.16 1-2345
-1448046892.55981-2345
-1448046892.5599 Output for 5.2.15 1-2345
-1448046892.92761-2345
-1448046892.9276 Output for 5.2.14 1-2345
-1448046893.26221-2345
-1448046893.2622 Output for 5.2.13 1-2345
-1448046893.55431-2345
-1448046893.5543 Output for 5.2.12 1-2345
-1448046893.69411-2345
-1448046893.6941 Output for 5.2.11 1-2345
-1448046893.97561-2345
-1448046893.9756 Output for 5.2.10 1-2345
-1448046894.27821-2345
-1448046894.2783 Output for 5.2.9 1-2345
-1448046894.41721-2345
-1448046894.4172 Output for 5.2.8 1-2345
-1448046894.56421-2345
-1448046894.5643 Output for 5.2.7 1-2345
-1448046894.72251-2345
-1448046894.7226 Output for 5.2.6 1-2345
-1448046894.98211-2345
-1448046894.9821 Output for 5.2.5 1-2345
-1448046895.2351-2345
-1448046895.235 Output for 5.2.4 1-2345
-1448046895.35181-2345
-1448046895.3518 Output for 5.2.3 1-2345
-1448046895.49671-2345
-1448046895.4967 Output for 5.2.2 1-2345
-1448046895.65871-2345
-1448046895.6587 Output for 5.2.1 1-2345
-1448046896.16941-2345
-1448046896.1694 Output for 5.2.0 1-2345
-1448046896.30811-2345
-1448046896.3082 Output for 5.1.6 1-2345
-1448046896.43071-2345
-1448046896.4307 Output for 5.1.5 1-2345
-1448046896.67291-2345
-1448046896.6729 Output for 5.1.4 1-2345
-1448046896.98791-2345
-1448046896.9879 Output for 5.1.3 1-2345
-1448046897.13041-2345
-1448046897.1305 Output for 5.1.2 1-2345
-1448046897.27031-2345
-1448046897.2703 Output for 5.1.1 1-2345
-1448046897.49451-2345
-1448046897.4945 Output for 5.1.0 1-2345
-1448046897.60731-2345
-1448046897.6073 Output for 5.0.5 1-2345
-1448046897.85741-2345
-1448046897.8574 Output for 5.0.4 1-2345
-1448046898.10191-2345
-1448046898.1019 Output for 5.0.3 1-2345
-1448046898.3721-2345
-1448046898.3721 Output for 5.0.2 1-2345
-1448046898.66451-2345
-1448046898.6646 Output for 5.0.1 1-2345
-1448046898.92391-2345
-1448046898.924 Output for 5.0.0 1-2345
-1448046899.0721-2345
-1448046899.072 Output for 4.4.9 1-2345
-0.8355221-2345
-0.835567 Output for 4.4.8 1-2345
-0.0996271-2345
-0.099678 Output for 4.4.7 1-2345
-0.7874291-2345
-0.78747 Output for 4.4.6 1-2345
-0.9061161-2345
-0.906154 Output for 4.4.5 1-2345
-0.026141-2345
-0.026186 Output for 4.4.4 1-2345
-0.5547671-2345
-0.554811 Output for 4.4.3 1-2345
-0.8510031-2345
-0.851049 Output for 4.4.2 1-2345
-0.3824571-2345
-0.382505 Output for 4.4.1 1-2345
-0.7308161-2345
-0.730861 Output for 4.4.0 1-2345
-0.9791151-2345
-0.979145 Output for 4.3.11 1-2345
-0.225771-2345
-0.225812 Output for 4.3.10 1-2345
-0.4926951-2345
-0.492734 Output for 4.3.9 1-2345
-0.7756621-2345
-0.775696 Output for 4.3.8 1-2345
-0.2037961-2345
-0.203833 Output for 4.3.7 1-2345
-0.3107491-2345
-0.31078 Output for 4.3.6 1-2345
-0.4279111-2345
-0.42796 Output for 4.3.5 1-2345
-0.5993741-2345
-0.599404 Output for 4.3.4 1-2345
-0.7305691-2345
-0.730613 Output for 4.3.3 1-2345
-0.8335131-2345
-0.833541 Output for 4.3.2 1-2345
-0.9566381-2345
-0.956676 Output for 4.3.1 1-2345
-0.0630931-2345
-0.063119 Output for 4.3.0 1-2345
-0.1796741-2345
-0.17971 preferences:dark mode live preview
188.78 ms | 401 KiB | 219 Q