// Built-in types
$variable = null; // null type
// Scalar types
$boolVar = true; // bool type
$intVar = 42; // int type
$floatVar = 3.14; // float type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Up from './index' | |
declare module '@ioc:Adonis/Core/HttpContext' { | |
interface HttpContextContract { | |
up: Up | |
} | |
} |
This gist contains a convenient script to loop through a multiple nested php array and return it in a neat and organized html format.
// add sample array.php file, in your case you might just need to add your
// loop variable and remove the include 'example_array.php' statement
include 'example_array.php';
include 'loop.php';