commit of the phpqrcode library
To use include phpqrcode.php then use it like this
QRcode::png('code data text', 'filename.png'); // creates file
QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser