Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to recognize data type on PHP?
Dwi Hyuga
Jun 29 2016 11:57 PM
298
Reply
i have some problem like this,
i have string,
$str
=
"D33 D 123"
;
after that, i explode it,
$str1
=
explode
(
" "
,
$str
);
i make it into three variable,
$zero
=
$str1
[0];
$one
=
$str1
[1];
$two
=
$str1
[2];
how to recognize each variable as it's data type, for example the variable $three is recognized as int??
thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
What is the best way to learn Php OOP
Sorting Numeric Values in php