How do I convert PHP to C++ coding?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
project168
Forum Newbie
Posts: 5
Joined: Sat Mar 26, 2011 1:33 pm

How do I convert PHP to C++ coding?

Post by project168 »

Is there a compiler to do that?
Last edited by project168 on Sat Mar 26, 2011 9:23 pm, edited 1 time in total.
User avatar
MindOverBody
Forum Commoner
Posts: 96
Joined: Fri Aug 06, 2010 9:01 pm
Location: Osijek, Croatia

Re: Using PHP to transmit/write characters to a USB port dev

Post by MindOverBody »

You can only write file contents on a drive which is USB with this:

Code: Select all

file_put_contents( "X:\file\path\on\usb\stick", $data );  
X is drive letter of USB drive. Other type of data manipulation is simply impossible with PHP.
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: How do I convert PHP to C++ coding?

Post by Darhazer »

project168 wrote:Is there a compiler to do that?
facebook has released HipHop PHP - but that does not mean that it's going to transform *any* php code to C++
Post Reply