We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a143c00 commit f1b6698Copy full SHA for f1b6698
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/php/Franckdot.php
@@ -0,0 +1,27 @@
1
+<?php
2
+ //https://www.php.net/
3
+ //Esto es un solo comentario para lineas de codigo individuales
4
+ /* Este es un comentario
5
+ para usar en varias lineas de codigo */
6
+
7
+ //variable
8
+ $myFirstVariable = "PHP";
9
+ //constante
10
+ define("PI", 3.14);
11
12
+ //tipos de datos
13
+ //entero
14
+ $valorEntero = 3;
15
+ //float
16
+ $valorPi = 3.14;
17
+ //cadena
18
+ $valorCadena = "Cadena";
19
+ //boleano
20
+ $valorBooleano = true;
21
+ $valorBooleano1 = false;
22
+ //null (indica que no hay valor)
23
+ $valorVacio = null;
24
25
+ echo 'Hola, ',$myFirstVariable;
26
27
+?>
0 commit comments