QUIZ: Write a script outputting a multiplication table. No echo, functions etc. used
One respected member of russian PHP forum phpclub.ruDiMA posted a good PHP brain-quiz there. I really liked it so much (after I solved it myself, not before ) that I would like to share it with you here.
Write a script, that is printing a multiplication table (example below). The following limitations are implied:
No PHP functions used at all (both built-in and extensions)
No language constructs for outputting data used at all (like echo, print, var_dump, print_r etc (even inside variable functions). Consider they don't exist
No <?= ?> tags used
No file includes used (require, include, readfile etc.)
Simple stupid output of the whole example at once is cosidered stupid and is not considered as solution ;)