• C# (Microsoft .NET)
• Dynamic HTML
• PHP & MySQL
• ASP.NET - C# & VB.NET
• Perl & CGI
• C | C++
• Vector Markup Language
• Wap Development
• Web site promotion
• Web Marketing
• Curriculum Vitae (CV)
• Major web solutions
• Web design projects
• Software solutions
How to set explicitly the type of a PHP variable?
Free programming example written by Anton Zamov
You can do this by using the special PHP function settype, the
syntax is settype(string var, string type).
Type could be "integer", "double", "string", "array" or "object"
Be aware that settype returns true if the operation has completed
If this example was useful for you, please support my company and click Like on the button below.
Thank you very much!
Jobs Portal, poweful jobs board software
PHP Mall, multi vendors mall website software
Car Portal, php script for auto classifieds websites
NetArt Media, software products and services
Real Estate Portal, web software for real estate portals
Blog System, multi user blog hosting script
Classified Ads Script, Responsive & SEO optimized PHP classified ads script for your site
WebSite Directory Script, Create easily your own website directory with this professionally designed script