answersLogoWhite

0


Best Answer

I think you mean language construct...

Anyway, a function usually takes one or more arguments as comma separated values or variables.

echo and print don't

<?php

$email = 'user@example.com';

$domain = strstr($email, '@');

echo $domain; // prints @example.com

?>

Here the strstr function takes a variable string and a constant string as an argument. echo simply displays the contents of the resulting variable.

There are a couple functions that don't require arguments, like die() & exit()

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between language constracter and function for exampal echo print in php language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Example of fundamental difference between a polynomial function and an exponential function?

fundamental difference between a polynomial function and an exponential function?


WHAT IS THE DIFFERENCE BETWEEN LANGUAGE AND COMMUNICATION I NEED RARE ANSWERS ONLY?

what is the difference between speech,language and communication??There is a huge difference between language and communication


Difference between normal function inline function?

gffg


What is the difference between the function of an organ and the structure of an organ?

the difference is ,a structure is where it is placed and the function is what it daos


What is the difference between the structure of an organ and the function the organ?

the difference is ,a structure is where it is placed and the function is what it daos


What is the difference between the structure of an organ and function of an organ?

the difference is ,a structure is where it is placed and the function is what it daos


What is the difference between a baloch and brohi?

there is between language


What is the difference between a formula and a function?

A function has no repeated x values


What is the difference between a function and a formula?

A function has no repeated x values


What is the differnce between ordinary function and template function of c language?

The c language does not have template functions. That is a c++ thing.


What is the difference between rational function and linear function?

t is the diffrence between a rational funcrion and a linerar and polynomial function


What are the differences between urdu and English language?

wht is the basic difference between English language with urdu language