Difference Between echo and print in PHP
Echo This statement is used to output the data to the screen or printing text onscreen. Ex: – echo with HTML echo with Variables print This is very similar to echo statement a way of displaying text. Ex-
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
Echo This statement is used to output the data to the screen or printing text onscreen. Ex: – echo with HTML echo with Variables print This is very similar to echo statement a way of displaying text. Ex-
Sample Ant clean, prepare, and compile tasks <target name=”clean”> <echo>=== CLEAN ===</echo> <delete failonerror=”false”> <fileset dir=”${dest.dir}” includes=”**/*”/> </delete> <delete dir=”${temp.dir}” /> </target> <target name=”prepare” depends=”clean”> <echo>=== PREPARE ===</echo> <mkdir dir=”${dest.dir}” /> <mkdir dir=”${temp.dir}” /> <mkdir dir=”${temp.dir.lib}” /> <mkdir dir=”${temp.dir.meta-inf}” /> <mkdir dir=”${temp.dir.web-inf}” /> <mkdir dir=”${temp.dir.classes}” /> </target> <target name=”compile” depends=”prepare”> <echo>=== COMPILE ===</echo> <echo>Compiling ${src.dir} … Read more