Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
add two numbers as string in php
Simon Brodie
Programming language:
PHP
2021-02-20 12:41:07
0
Q:
add two numbers as string in php
jack
Code:
PHP
2021-02-20 12:48:32
<?php $x=15; $y=30; $z=$x+$y; echo "Sum: ",$z; ?>
1
Tags
number
string
php
add
two
Related
how to make a loop that adds numbers to a variable in php
in array php multiple values
add two numbers in php
Adding string with number in php
define multiple variables in one line php
php concatenate two variables
return two variables php
in loop how add string by comma in php
php find multiple strings in string
php keep only numbers in string
create array from string with commas php
php get only numbers from string
php multiple line string
how to convert array to string with commas in php
php define multiple variables as 0
php keep only digitts
php number multiple of
replacing some digits of a number with asterisks php
php function return multiple values
how to add two string in php
New to Communities?
Join the community