1.

What are PHP variables preceded by?(a) _(b) @(c) $(d) &I had been asked this question in a job interview.My question comes from Checking and Repairing Database Tables in portion Database Maintenance, Backups and Replication of MySQL

Answer»

Right choice is (C) $

The explanation: All the PHP scripts that use variables have VARIABLE NAMES preceded by the dollar sign (‘$’). The variables are signified by this identifier, IRRESPECTIVE of the value it STORES.



Discussion

No Comment Found

Related InterviewSolutions