PDA

View Full Version : What is this?



Chessmaster
April 2nd, 2008, 12:23 PM
Quiz time...first to answer correctly gets nothing but admiration...what is the following:


$a='$a=%c%s%c;printf($a,39,$a,39);%c';printf($a,39 ,$a,39);

oedipuss
April 2nd, 2008, 07:27 PM
The smallest script that can print itself or something ?
or maybe that will keep printing itself..
I think it's php, though I don't know anything about it :P

Zralou
April 2nd, 2008, 07:55 PM
I would guess, a self replicating pearl script?.

Sara Lou

Taino
April 2nd, 2008, 08:24 PM
Virus :twisted: (kidding) :tongue:

Self-reproducing Perl program.

:popcorn:

beercz
April 2nd, 2008, 09:47 PM
Dunno - too tired to work it out!

thisllub
April 3rd, 2008, 02:32 AM
Too few arguments.

arbulus
April 3rd, 2008, 04:24 AM
Looks too much like a fork bomb for me to try running it.

LaRoza
April 3rd, 2008, 04:26 AM
Looks too much like a fork bomb for me to try running it.

It is Perl, and is just a program which prints itself.