Jump to content

is php and c similar

- - - - -

  • Please log in to reply
3 replies to this topic

#1
bakhtn

bakhtn

    Newbie

  • Members
  • Pip
  • 8 posts
is php and c similar and why

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Only superficially. They have similar looking syntax, at first, but completely different libraries and purposes, which results in completely different code.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
xsonline

xsonline

    Learning Programmer

  • Members
  • PipPipPip
  • 48 posts
yes they are very alike. PHP was based on C too. It's even possible to compile your php-code to C to gain performance.

#4
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
You can call PHP a C-influenced language, but it's so much that differs as well.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users