Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If your C code is compiled to an executable, that executable can be executed from PHP -- but I'm guessing this is not quite what you meant ?</p> <p>If you want to excute C code from PHP : that is not possible... unless you compile your C code to a PHP extension.</p> <p>A PHP extension is like a <code>.dll</code>, on windows : it's a library, that can export functions that can be called from PHP.</p> <p><br> If you want to learn more about writing PHP extensions, those links will probably interest you :</p> <ul> <li><a href="http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/" rel="nofollow noreferrer">Extension Writing Part I: Introduction to PHP and Zend</a></li> <li><a href="http://devzone.zend.com/article/1022-Extension-Writing-Part-II-Parameters-Arrays-and-ZVALs" rel="nofollow noreferrer">Extension Writing Part II: Parameters, Arrays, and ZVALs</a></li> <li><a href="http://devzone.zend.com/article/1023-Extension-Writing-Part-II-Parameters-Arrays-and-ZVALs-continued" rel="nofollow noreferrer">Extension Writing Part II: Parameters, Arrays, and ZVALs [continued]</a></li> <li><a href="http://devzone.zend.com/article/1024-Extension-Writing-Part-III-Resources" rel="nofollow noreferrer">Extension Writing Part III: Resources</a></li> <li>And, just for reference, as i'ts about C++ and not C : <a href="http://devzone.zend.com/article/4486-Wrapping-C-Classes-in-a-PHP-Extension" rel="nofollow noreferrer">Wrapping C++ Classes in a PHP Extension</a></li> </ul> <p>And, if you are <strong>really</strong> interested by the subject, and ready to spend some money on it, you could buy the book <a href="http://rads.stackoverflow.com/amzn/click/067232704X" rel="nofollow noreferrer">Extending and Embedding PHP</a> <em>(<a href="http://books.google.com/books?id=zMbGvK17_tYC&amp;printsec=frontcover&amp;dq=Extending+and+Embedding+PHP&amp;ei=KqeOSoeML4bMM4aL3LAH#v=onepage&amp;q=&amp;f=false" rel="nofollow noreferrer">some pages are available as preview on Google Books</a> too)</em> ; It's considered as <strong>the</strong> book to read when interested on this subject <em>(In fact, I've bought it some time ago, and, in my opinion, it is indeed an interesting read)</em></p> <p>BTW, the author of that book is also the author of the first four articles I linked to ;-)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload