Search
 
SCRIPT & CODE EXAMPLE
 

PHP

obtener tipo

<?php

$a = $b = "3.1416"; // asignamos a las dos variables la misma cadena de texto

settype($b, "float"); // y cambiamos $b a tipo float

print "$a vale $a y es de tipo ".gettype($a);

print "<br />";

print "$b vale $b y es de tipo ".gettype($b);

?> 
Comment

PREVIOUS NEXT
Code Example
Php :: form validation in php 
Php :: form data to php Class 
Php :: auto complete order paid3 
Php :: how to remove payment link in invoice woocommerce 
Php :: how to change phpto size in its properties ubuntu 
Php :: php jwt firebase 
Php :: $s = [1,2,3] for loop use in php 
Php :: php array key value print 
Php :: cakephp 3 
Php :: count letters in string without space or characters and numbers in php 
Php :: Uncaught TypeError: call_user_func(): Argument #1 
Php :: Criando shortcode no Wordpress 
Php :: Convert Shamsi Jalali Persian Date TimeStamp 
Php :: set php variabe with javascript loca storage 
Php :: wcfm filter vendor dashboard widgets 
Php :: pht get header from request 
Php :: share with all blade in laravel 
Php :: divi layout injector shortcode module in function php file 
Php :: php upload image to another subdomain 
Php :: publish algolia search in laravel 
Php :: namespace not working php 
Php :: laravel migration unknown column type double requested 
Php :: wordpress ftp functions.php 
Php :: php datetime format 
Php :: popup en php 
Php :: check if date is older than today php 
Php :: drupal 9 custom local stream wrapper 
Php :: laravel echo server 
Php :: php increase response time 
Php :: Laravel API ResourceCollection doesnt works 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =