#PHP no bonus, 19 17 16 14 9 bytes
PHP no bonus, 19 17 16 14 9 bytes
<?=99**9;
prints 913517247483640899
longer versions:
echo date(Mc);
14 bytes print the first three letters of the month name followed by
an ISO-8601 formatted date (like2017-01-26T21:57:38-08:00
- length=25)var_dump([01]);
15 bytes printarray(1) {\n [0]=>\n int(1)\n}\n
echo decbin(~0);
16 bytes print 32 ones (on a 32 bit machine)echo md5(12345);
16 bytes print827ccb0eea8a706c4c34a16891f84e7b
<?=str_pad(_,34);
17 bytes print one underscore and 33 spaces.<?=decbin(2**33);
17 bytes print a1
and 33 zeroesprintf("%34d",0);
17 bytes print 33 spaces and a0
echo date(uuuuuu);
18 bytes print 6*6 zeroes<?=date(uuuuYY);
16 bytes print 6 zeroes four times and the current year twice
close but no cigar:
<?=pi();
8 bytes print3.1415926535898
(15 characters; 64 bit machine)<?=log(2);
10 bytes print0.69314718055995
(16 chars; 64 bit)<?=date(wc);
12 bytes print 26 charsvar_dump(_.pi());
17 bytes print 30 chars (64 bit)