Categoría: Tecnología al Día
Floating point numbers (also known as «floats», «doubles», or «real numbers») can be specified using any of the following syntaxes: <?php $a = 1.234; $b = 1.2e3; $c = 7E-10; ?> Formally: LNUM [0-9]+ DNUM ([0-9]*[\.]{LNUM}) | ({LNUM}[\.][0-9]*) EXPONENT_DNUM [+-]?(({LNUM} | {DNUM}) [eE][+-]? {LNUM}) The size of a float is platform-dependent, although a maximum of
An integer is a number of the set ? = {…, -2, -1, 0, 1, 2, …}. Syntax Integers can be specified in decimal (base 10), hexadecimal (base 16), or octal (base 8) notation, optionally preceded by a sign (- or +). To use octal notation, precede the number with a 0 (zero). To use
Four scalar types: boolean integer float (floating-point number, aka double) string Two compound types: array object And finally two special types: resource NULL This manual also introduces some pseudo-types for readability reasons: mixed number callback And the pseudo-variable $…. Some references to the type «double» may remain in the manual. Consider double the same as
This is the simplest type. A boolean expresses a truth value. It can be either TRUE or FALSE. Note: The boolean type was introduced in PHP 4. Syntax To specify a boolean literal, use the keywords TRUE or FALSE. Both are case-insensitive. <?php $foo = True; // assign the value TRUE to $foo ?> Typically,
PHP supports ‘C’, ‘C++’ and Unix shell-style (Perl style) comments. For example: <?php echo ‘This is a test’; // This is a one-line c++ style comment /* This is a multi line comment yet another line of comment */ echo ‘This is yet another test’; echo ‘One Final Test’; # This is a one-line shell-style
When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows PHP to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP
comScore World Metrix reveló los resultados de su encuesta realizada a personas mayores de 15 años en los hogares y empresas para detectar el uso de los sitios de redes sociales. Se excluyó el tráfico de computadores públicos como Café Internet y acceso de equipos móviles y PDAs. A continuación el porcentaje de usuarios de
En una encuesta realizada por Interland a 1,032 líderes de las pequeñas y medianas empresas en Estados Unidos, se determinaron las siguientes como las técnicas de mercadeo que son críticas para impulsar negocios, representados como un % de los que contestaron. 55% Relaciones con la Comunidad 47% Sitio Web 31% Relaciones públicas, cubrimiento de los
En un estudio elaborado recientemente por Nielsen, se quiso indagar en qué utilizaban los usuarios de teléfonos móviles su tiempo de conexión a Internet, arrojando los siguientes resultados como porcentaje del tiempo utilizado: 38.5% Correo electrónico 10.7% Redes sociales 7.2% Noticias y Actualidad 6.3% Búsquedas 4.6% Portales 4.3% Entretenimiento Es claro que el correo tiene
En una encuesta realzada por King Fish Media, se los métodos más apropiados, considerados por los gerentes de mercadeo, para llegar a clientes potenciales, arrojando los siguientes resultados. 75% Sitio Web Corporativo 73% Redes sociales 70% Contenido personalizado 69% Eventos cara a cara 67% Documentos Gratuitos / libros electrónicos 64% Transmisiones por la Web y