<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Differenza..]]></title><description><![CDATA[<p dir="auto">Meglio isset o empty, o hanno la stessa funzione?</p>
]]></description><link>https://dev.connect.gt/topic/34827/differenza</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 22:50:04 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/34827.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 May 2007 12:43:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Differenza.. on Tue, 08 May 2007 19:36:10 GMT]]></title><description><![CDATA[<p dir="auto">$variabile="test";<br />
!isset($variabile); //restituisce 0 o false xkè $variabile NON E VUOTA<br />
!empty($variabile); //restituisce 1 o true perchè $variabile E DICHIARATA</p>
<p dir="auto">ma cosi non sarebbe la stessa cosa?quindi alla fine servono allo stesso scopo?</p>
<p dir="auto">un'altra cosa, se io vorrei usare i cookie come faccio a sapere se sono abilitati o no nel pc dell'utente? se fossero disabilitati potrei passare direttamente alle sessioni?</p>
]]></description><link>https://dev.connect.gt/post/506752</link><guid isPermaLink="true">https://dev.connect.gt/post/506752</guid><dc:creator><![CDATA[khendall]]></dc:creator><pubDate>Tue, 08 May 2007 19:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to Differenza.. on Tue, 08 May 2007 16:34:17 GMT]]></title><description><![CDATA[<p dir="auto">No,empty verifica che una variabile anche dichiarata non contenga valori,<br />
isset verifica che questa sia dichiarata.</p>
<p dir="auto">Un esempio:</p>
<p dir="auto">$variabile="test";<br />
isset($variabile); //restituisce 1 o true perchè $variabile E DICHIARATA<br />
empty($variabile); //restituisce 0 o false xkè $variabile NON E VUOTA</p>
<p dir="auto">Ciao!</p>
]]></description><link>https://dev.connect.gt/post/506747</link><guid isPermaLink="true">https://dev.connect.gt/post/506747</guid><dc:creator><![CDATA[probid]]></dc:creator><pubDate>Tue, 08 May 2007 16:34:17 GMT</pubDate></item></channel></rss>