<?php
use Faker\Factory;
$faker = Factory::create('it_IT');
dump(
// name and address from locale
$faker->name,
$faker->address,
$faker->dateTime,
// with optional(), it may return null
$faker->optional(0.5, null)->colorName
);
echo sprintf(
'<img src="%s">',
$faker->imageUrl(320, 240, 'animals')
);
^ "Ing. Sibilla Piras"
^ """
Incrocio Sarita 803\n
Moretti calabro, 05534 Siena (VT)
"""
^ DateTime @1164408214 {#1412
: 2006-11-24 23:43:34.0 Europe/Berlin (+01:00)
}
^ "Bisque"