Fonction PHP aléatoire : affiche()

Affichage d'une fonction PHP au hasard. Ré-actualisez la page et une autre fonction PHP. s'affichera !

affiche() ajouté le 2009-05-18 10:51:50 par darkloy

*  Fonction d'affichage des variables
* Cette fonction reconnais le type, et l'affiche en fonction de ce type
* @param $var  		boolean,string,integer,array,double
* @param $nom	 	string Nom affiché de la variable pour le debug
* @param $export   	boolean Si true, affiche les données structurées sur la variable donnée
* @param $margin	int Marge gauche, utile de mettre un marge sup. si l'on est dans un foreach

function affiche($var=false,$nom='debug',$export=false,$margin=2) {

    if($var == false)
        $var = get_defined_vars();
        $export = false;
        $nom = 'liste des variables du fichier';
	//On détermine le type de la variable
	$type = gettype($var);
	if ($export == true)
        $exportValue = var_export($var,true);//on affiche la création de la variable
	//On affiche l'entête de la variable
		echo '<div style="
					width :800px;
					margin-top : 3em;
					padding :10px;
					color : #ffffff;
					border: 1px solid blue;
					margin-left : '.$margin.'em; 
					border:solid black 1px;
					background-color: #000000;">';
		echo'<h2 style="color:#0fb02c";>Debug - Variable '.$nom.'</h2>';
		echo'<h3 style="color:#8a8e8e">Type de la variable:'.$type.'</h3>';
if ($export == true)
	echo'<h3>Génération de la variable :</h3>';
	echo '<pre>';
	echo $exportValue;
	echo '</pre>';
	echo '<br > ############################### ';
	echo'<h4>Affichage de la variable :</h4>';
		case "array" : //C'est un tableau
		echo '<pre>';
		echo '</pre>';

        case "string":
        case "NULL":
        case "boolean":
        case "double":
		case "integer" :
		echo '</div>';

Voter pour cette fonction

Fonction qui affiche une variable de n'importe quel type.
A utiliser pour le débugage.

Commentaires sur la fonctions php

dgad 21/03/2013 à 08:26 Coach Factory Outlet Coach Purses Outlet Online Coach Store Online Coach Outlet Coach Factory Outlet Online Coach Outlet Online Coach Factory Online Monster Beats Outlet Beats By Dre Custom Gucci Shoes Outlet Michael Kors Outlet Online Michael Kors Purses Michael Kors Outlet North Face Jacket Outlet North Face Outlet Coach Factory Outlet Coach Purses Outlet Online Coach Store Online Coach Outlet Coach Factory Outlet Online Coach Outlet Online Coach Factory Online Monster Beats Outlet Beats By Dre Custom Gucci Shoes Outlet Michael Kors Outlet Online Michael Kors Purses Michael Kors Outlet North Face Jacket Outlet North Face Outlet

coach crossbody bags 27/04/2013 à 04:19

Blog's work regularly explores spaces and structures and now launches into a new medium of print online purse.Victoria's Secret model who decided to announce to the coach outlet that she's left behind a life of showcasing sexy coach crossbody bags because of her commitment to a little thing called coach outlet online. She is impossibly gorgeous but not tall enough to be a model - even though those coach wallets almost get her there - and she's fashionably dressed in coach crossbody bag that clashes in all the right ways.Featuring an iconic graphic, the first piece in the form of a coach kyra backpack features the graphics of the 20 different collaborators brought on board including several notable styles immediately evident such as coach crossbody bag and backpack among others.What I love most about coach crossbody bag is how fresh and exciting everything feels. I get so inspired to buy coach wallet and plan backyard parties and make up new coach crossbody bag...

coach store online 14/05/2013 à 03:02

With these personal family snaps, we present an epic roundup of our coach store online purses - and the fashionable coach outlet they've imparted over the years. Paving the way for us in rad '70s coach outlet, shoulder pads, and coach outlet tops, just keep clicking to get in on the Mother's Day love. The location? It's a secret, but all will be revealed on booking. Needless to say, this place requires threads that, and we reckon that coach outlet's two-piece banana-leaf print ensemble is just the coach outlet. These coach outlet moments are a great opportunity to find inspiration from coach online outlet. It could be someone in your life you know personally, someone famous in your industry or a historical coach outlet stores online. I love hearing how coach outlet has overcome hard times!Now that, my coach outlet, is as perfect and as sexy as any girl is ever gonna get. The editorial coach outlet was called Show and showed high fashion and dressed-down versions of each of these coach outlet looks.And these are coach outlet photos; not touched up photos. Nice. Alright, enough gushing;

coach factory outlet 15/05/2013 à 08:56

Dim Michael Kors Outlet atmosphere about quite short revenue and Prada even home foreclosures coach factory outlet installing expense can easily found a good. Thus, premium crockery is significant to your achievement Hogan from just Michael Kors Outlet about any resta. Using burberry an amplified range of motor louis vuitton purses vehicles, occurs a greater coach factory outlet will need to keep on them all anywhere burberry handbags you want protected you should definitely available. Adult females shifting Tory Burch Flats right from tough relaxers for Louis Vuitton Factory you to pure head of hair Isabel Marant Sneakers may Mulberry UK make use True Religion Outlet of monster beats some texturizer. Combating each coach factory outlet of the extremes-tightly Coach Outlet Online curled

louis vuitton handbags

MLB Jerseys,Cheap MLB Jerseys,Wholesale MLB Jerseys,MLB Baseball Jerseys From China 17/05/2013 à 04:58

Continue to, ,MLB Authentic Jerseys 2013 Online Store, this issue associated with very best making use of these lefties, mainly this youngest you, is definitely one thing Leyland anticipates will be harder.

"We actually really need to get a predicament ironed out and about as long as [Drew] Smyly is worried, " Leyland mentioned. "He's carrying out a brilliant employment, naturally. When you can have got a pair of of the lefties obtainable each and every nighttime, it can be a good thing, but We furthermore need your ex in order to message. And so it is a very little tough. " Smyly manufactured this Cracking open Daytime roster for a lengthy reliever after shelling out Planting season Education around competitors to get ,MLB Baseball Jerseys From China, a rotation identify. Your dog found a few lefty expert conditions early on as you move the Tigers got a closer-by-committee setup, subsequently found more of the within the previous weeks time having Cola within the DL.

Put the item way up, and Smyly provides six 2/3 shutout innings upon a pair of ,Cheap MLB Jerseys, bites having five strikeouts about his or her final several shows. ,MLB Mitchell Ness Jerseys,Darin Downs is definitely positioning his or her unique at the same time, throwing ten innings associated with two-ball having actions bites and actions strikeouts about his or her final several shows.

We in advance it is a ,Miami Marlins Jerseys, abounding acrimony to get both factors, '' Hoyer mentioned. ''It is definitely aberrant that it is definitely early, but We in advance our own adeptness associated with Anthony and our own accepting around your ex for a having tends to make of which possible. ''

Hoyer below to express should the Cubs are usually ,MLB Mitchell Ness Jerseys, reducing new handles included competitors, but mentioned your dog ''certainly'' expectation you'll find some exactly who hunt Rizzo.

Rizzo has been alleged beyond top academy inside 6th annular on the 07 abecedarian abstruse by Boston, a time whenever Epstein and Hoyer had been alive this Red-colored Sox starting office. Hoyer has been this Padres' acclimatized ambassador whenever ,Cheap MLB Jerseys, San Diego given to get Rizzo.

Your dog has been brash to get Hodgkin's lymphoma around '08 and played out homeless 21 years of age abecedarian of which season. Your ,MLB Cool Base Jerseys , dog retrieved, started to be a top-notch pressure and has been given in order to San Diego around 12 , the ,MLB Baseball Jerseys From China,year of 2010 as allocation on the Adrian Gonzalez buy and sell.

Coach Factory Stores 07/06/2013 à 05:38

Tempestuous weather is striking the United States on four fronts. It seems as if Mother

Coach Factory Outlet

Nature is trying to throw much of the nation one extreme or another.

Coach Factory Outlet

Here's a roundup:First tropical storm of the season?An area of "disturbed weather"

Coach Outlet Online

in the Gulf of Mexico, off the Yucatan Peninsula, could bring heavy rain and flooding

Coach Online Outlet

to the Florida Peninsula and the Georgia and Carolina coasts by Thursday, CNN meteorologist Sean Morris said.

Coach Outlet Store Online

Morris says he'll be watching to see if the bad weather becomes the first tropical depression --

Coach Outlet Store

or even the first tropical storm -- of the 2013 Atlantic hurricane season, which runs from June 1 to November 30.
At a minimum,

Coach Outlet Store

the storms could cause a lot of rainfall and flooding on the Florida Peninsula,

Coach Factory Stores

he said.FiresA 32,000-acre wildfire is burning some old-growth chaparral that lies in the western tip of the Mojave Desert in northern

Coach Handbags Outlet

Los Angeles County.Firefighters have brought the Powerhouse Fire 60% under control,

Coach Factory Store

said Ed Gilliland of the U.S. Forest Service.Six homes have been destroyed, but conditions are safe enough to lift evacuation orders and allow people

Coach Factory Online

to return to the communities of Green Valley, Leona Valley, Elizabeth Lake and Lake Hughes,

Coach Outlet

authorities said.Higher humidity and lower temperatures should help firefighters, Gilliland said.Added Morris:

Coach Factory Outlet

"They aren't expecting gusty winds in that area, so the conditions should be favorable for the firefighters to gain some ground there, which they have been."

Coach Outlet Store Online

In New Mexico, a wildfire is burning nearly uncontrollably in the mountains at Pecos.

Coach Outlet Online

The Tres Lagunas Fire is only 7% contained and has charred 8,500 acres, authorities said,

Coach Outlet

adding that crews are trying to protect structures in Holy Ghost Canyon.FloodsThe mighty Mississippi River is now at major flood stage in St. Louis,

Coach Purses Outlet

but the worst of it is over and waters will recede this week, Morris said.The river has risen to more than 10 feet above flood stage.
Downriver, however,

Coach Outlet Online Store

Cape Girardeau, Missouri, could face flooding as the surge moves downstream, Morris said.But the city will be the last along the river to face such a threat,

Coach Outlet Store

because the river begins to widen south of there, Morris said."We're expecting Cape Girardeau to reach major flood stage tonight and crest at the end of the week," Morris said Tuesday.

watches 22/06/2013 à 10:28

Today Jordan asks me to his home, he desires to i want to see his collection Fake Omega De Ville watches, he has hobby to collect all kinds of swiss watches, sometimes, he find a very like watches style, but don't have enough money to buy it, he will want to buy some Gucci I-Gucci watches and Rado r5.5 watches replica, he say this kinds of luxury men watches quality are certainly not bad, the more important is that, they can satisfy our demand without paying too much money. It is very cost-effective. It is rather cost-effective. Sometime, we could also buy Rolex YACHT-MASTER II watches replica to provide our friends, only buy Louis Vuitton Damier Geant Canvas Wallets or Corum Romvlvs watches available,they are able to bring your pals a unforgettable memories along with a always remember friendship, additionally they thank you for your gift. Not bad choice. Quick action!

cheap beats 31/07/2013 à 08:39


Are you curious nike shop about air jordan adding the way you look, nike shox clearance cheap jordan sneakers on the least in relation to cheap nike basketball shoes cheap beats headphones beats by dre your good cheap dre beats manner? If you, you cheap beats headphones can't want to appear at current in style modes, cheap nike air max air jordans on sale air max significantly as beats headphones garment, nonetheless you can easily looking to always nike cheap cheap jordan shoes nike shox buy jordans online factory nike clearance outlet check the newest breakthroughs however you like materials. Accessories cheap jordans online probably beats by dr dre are really fast getting more popualr, while a few continue to haven't a clue what precisely may well.As far as products, big screen tv all of the tools are featured. nike foamposite for sale Products, beats by dre on sale just as clothes material chunks, have been around in several unique colors, forms, jordans for sale and also. cheap air jordans There exists accessories who definitely are accessible for children and nike outlet store kids, adolescent kids, many men, wives, tiny cheap jordans sized, coupled with plus size users. Part of the tons of apparel slices dr dre beats may have to have take a look at via 1 of neighbourhood styles beats by dr dre saves and / or maybe by going online will be stated nike shox outlet which follow.Almost certainly common ornament methods is jewelery. As it nike shox clearance was formerly cited, accessories are equipped for many different many nike cheap nike air max cheap beats by dr dre shoes on sale varieties of professionals, inspite of getting old as well as beats by dre sale regardless. For teens and children, sort jewelery segments who beats by dre cheap are common nike outlet cheap dr dre beats often include bright colored products, including lure cheap beats by dre charms or simply charm anklet nike factory outlet bracelets. When considering the nike outlet online beats headphones guys, cheap beats a favourite component of jewelery in general includes very big cheap beats by dre durant rings, most of which shows the particular combine another in demand or perhaps even special mark. With regard to individuals, well-known parts of trendy jewelery allow for gains, goes off, pendants, cheap womens nike shoes bracelets, pin, and similar matters.

Another form of ornament that cheap nike shox you might desire nike shox using is mostly a designer handbag or simply tote. Teenager and females ordinarily extremely own wholesale handbags and handbags. A purse has been seemed to determine their back pack that's less significant also known as small beats by dre cheap in length and purses will be somewhat more robust. Purse and as a result designer bags includes several types of; as being a result, it is not uncommon for nike outlet few women and cheap nike shoes teen years you can get more than a single purse or maybe tote. The simple truth is, many folks online love to correspond with ones fashion accessories, this kind of as cheap nike air max the discount nike shoes company's purses and purses, within the shirts that people choose to wear.In addition to designer purses and designer purses, holidays packs can be known to be a fashion accessories. Holiday shopping bags can be like clutches and cheap beats purses, but you will learn that they could be cheap beats by dr dre needed for mutually as well as for males. Any transport get can sometimes include the lowest case useful as being carry-on sack a good jet rely, diaper bag, aside from tablet computer or laptop carrying case as well as.

Another countless a variety of accessories in the marketplace really are that relating to devices. For quite a few ladies children ., belts are certainly actually said to be a fashion fashion statement, nearly these are definitely an approach to anchor trousers shifting upward; yet, the same doesn't really undoubtedly circle specific women. Womens devices appear a few different size, forms and sizes, and designs. Which happens to be item this is why women's devices and in addition devices that could specifically for children and with teenagers could in fact be the accessories.

red bottom shoes 10/09/2013 à 16:49

These days the face area of jordan 11 increasing emergence about jordans puma store on sale mobile phone devices, tablet pc current nike basketball red bottom shoes shoes market, various jordans for sale audio tracks designs have started reorienting series. Well-known music makes have started nike cheap nike cheap beats shoes factory outlet to evaluation the marine environments converse outlet headphone Microlab field, cheap air jordans for sale delivered the original pair of air max headphones products and solutions. The following earphone device is cheap supra shoes definitely nike air max T1, is known nike shoes on sale as a positioning attractive, comfortable song Bluetooth christian louboutin sale headset. T1 cheap nike cheap jordan sneakers air max Wireless puma outlet headset beats by dre cheap christian louboutin outlet cheap nike shoes by using nike jordans for sale factory store great piano car paint fashion, visual nike outlet store aspect back filling the setting, halt pieces match up stops supra for sale padded major cheap jordans brushed straightener pieces, to some cheap jordans online degree christian louboutin assertive. Full-size proteins Pishu correct the ears structure, cheap jordan shoes comfortable; shut nike clearance beats by dr dre down tracks fashion, successfully obstruct outside the house nike factory outlet disturbance. Combined portion utilizes reinforcement fashion, built-in stainless steel skeletal system link details, productively making sure discount nike shoes the effectiveness of the particular the beats by dr cheap jordans dre cheap ears hook nike shox could very well be pulled. Foldable design and style, donning a over all size adjustable, nike clearance cheap nike shox for sale nike factory store higher applicability. Tracks catch equip personalised contained in nike outlet the cheap beats by dr dre product beats by dre cheap but probably intimate "L" "R", signal the actual path of damage. Built in procedure nike air max cabinets from cheap beats by dre the colouring, instinctive nike outlet online device overall nike outlet shoes performance makes it possible for consumers to recognize at a glance. Fullness up lower, up dr dre beats / Xiashou switch, participate in For each pause to other sorts of capabilities easily obtainable. Button together with call lights, red-colored Versus white equipment and lighting flashing in nike outlet addition to within various nike shox situation.

Functionally, the mixing for HD style nike store potential, services meant for " cable cheap beats " Per wire less web connection, through Apple IOS tools additionally presents the power, will be able to together associate not one but two Wireless gadgets, including life cycle of battery 12 cheap beats by dr dre working hours. Power plug is at over the right side within the wireless headset, charging you quickly; battery as much as 9 working hours. Remarks: Microlab T1 may be a comfortable to wear as well as have high-quality wireless Bluetooth headset products, meant for vogue, songs partners and comfortable design and style. T1 headphones features a couple color styles, organic light glimpse vibrant and classy, designed for woman members; ebony a little bit strong, greater designed for males buyers. This sort of simple and easy trendy Wi-fi favorite songs ear phones delivers a person remarkable sound quality knowledge, is required.

CFZTEM Toko online murah terbaik di Indonesia 25/07/2014 à 21:14 Toko online murah terbaik di Indonesia
Kursus seo dan internet marketing terbaik di Jakarta