Multiple choice technology web 2.0

The PHP syntax is most similar to?

  1. VBScript

  2. JavaScript

  3. Perl and C

  4. Java

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

PHP syntax is heavily influenced by C, Java, and Perl. Its control structures, variable sigils (like Perl's $), and basic block structures closely mirror Perl and C. JavaScript, Java, and VBScript are less direct syntactic ancestors despite some shared programming concepts.