Is php faster than javascript?



Is php faster than javascript?..

Answer / Pravindra Kumar Chaturvedi

No, JavaScript is generally not faster than PHP. JavaScript runs in the browser and is primarily used for client-side scripting, whereas PHP runs on the server-side and is used for server-side processing. Comparing their speeds would not make much sense as they serve different purposes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Why do we use namespace in php?

1 Answers  


What are the variables in php?

1 Answers  


Is array empty php?

1 Answers  


What is the name of scripting engine in php?

1 Answers  


How can I convert ereg expressions to preg in php?

1 Answers  


How to convert numbers to strings in php?

1 Answers  


Does php support overloading?

1 Answers  


What is uniqid php?

1 Answers  


coding for deleting items form data base on select

1 Answers  


How to create an array of a group of items inside an html form?

1 Answers  


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

1 Answers  


What is meant by nl2br()?

4 Answers   Rushmore Consultancy,


Categories