Buenas.
Pues no se, supongo que no sera lo que busco porque no me sirve.
Yo quiero un Programilla que si le meto por ejemplo esto :
Código PHP:
<html>
<head>
<title>Prueba1</title>
</head>
<body>
hola mundo!!
</body>
</html>
me devuelva algo de este tipo :
Código PHP:
<html>
<head>
<title>Prueba1</title>
</head>
<body>
hola mundo!!
</body>
</html>
y que tambien lo haga con funciones, no solo con etiquetas por ejemplo
Código PHP:
function hola() {
$mensaje = "hola" ;
$numero = 0 ;
while ($numero < 10)
{
echo $mensaje ;
$numero++ ;
}
}
que lo convierta a esto :
Código PHP:
function hola() {
$mensaje = "hola" ;
$numero = 0 ;
while ($numero < 10)
{
echo $mensaje ;
$numero++ ;
}
}
Me estoy programando algo en JavaScript que hace Esto, pero aun tengo algunos fallos xD