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.
2 parents d06e8f6 + f18913d commit ffd05e6Copy full SHA for ffd05e6
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/php/alexvasquez199914.php
@@ -0,0 +1,30 @@
1
+<?php
2
+
3
+# https://www.php.net
4
5
+//Este es un comentario de una línea//
6
+/* Este es un
7
+comentario multilínea */
8
+# Este es un comentario de consola una línea
9
10
+#definiendo variable
11
12
+$url= 'https://www.php.net';
13
14
+# definiendo constante
15
16
+define("url2", "15");
17
18
+#tipos de datos primarios
19
20
+$myvariable_int=1;
21
+$myvariable_string="texto";
22
+$myvariable_bool=true;
23
+$myvariable_bool2=false;
24
+$myvariable_float= "0.5";
25
26
27
+# imprimir hola y lenguaje
28
29
+echo "<h1>Hola php</h1>";
30
+?>
0 commit comments