DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
convert string to int php
s = "123"; echo intval(s); // 123 s = "hello"; echo intval(s); //0
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#int
#php
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit