<?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')
);
"Gilda De Angelis"
"""
Rotonda Baldassarre 891\n
Settimo Mercedes nell'emilia, 59305 Avellino (PG)
"""
DateTime @1400884580 {#1492
: 2014-05-24 00:36:20.0 Europe/Berlin (+02:00)
}
null