Skip to content

added new code#1

Open
Prami30 wants to merge 2 commits intomasterfrom
phpdev
Open

added new code#1
Prami30 wants to merge 2 commits intomasterfrom
phpdev

Conversation

@Prami30
Copy link
Copy Markdown
Owner

@Prami30 Prami30 commented Sep 13, 2017

Please review and comment @salman

@salmander
Copy link
Copy Markdown

Very good start. Well done.

<?php
$x = 6;
$y = 4;
echo $x + $y;"\n";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be as follows:

echo $x + $y . "\n";


$a = 20;
$b = 5;
echo $a - $b;"\n";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above


$p = 30;
$r = 25;
echo $p * $r;"\n";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants