<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1669601319617062229.post5359486786143066112..comments</id><updated>2012-01-05T03:47:08.181-06:00</updated><category term='doubletake'/><category term='SPF'/><category term='WWDC'/><category term='DNS'/><category term='iterm'/><category term='Talk'/><category term='Operadores Lógicos'/><category term='Zend Framework'/><category term='programas para mac'/><category term='sshkeychain'/><category term='ucspi-tcp'/><category term='Cisco'/><category term='info'/><category term='Windows'/><category term='WebKit'/><category term='inurl'/><category term='Skype'/><category term='picasa'/><category term='iphone'/><category term='web 2.0'/><category term='iPod'/><category term='Banco de Costa Rica'/><category term='Clonar'/><category term='BCR'/><category term='televisión'/><category term='Dell'/><category term='Safari'/><category term='MediaLive'/><category term='link'/><category term='busquedas'/><category term='tv'/><category term='Apache'/><category term='GMail'/><category term='IPv6'/><category term='fugu'/><category term='PowerEdge R300'/><category term='SMS'/><category term='Time Machine'/><category term='intitle'/><category term='GoDaddy'/><category term='operadores de busqueda'/><category term='UCR'/><category term='megapixel'/><category term='Linksys'/><category term='FreeBSD'/><category term='Quick Look'/><category term='Blogger'/><category term='LaserJet 1020'/><category term='MySpace'/><category term='intext'/><category term='Gnome'/><category term='tcpserver'/><category term='Hi5'/><category term='parallels'/><category term='Ingeniería Social'/><category term='Google Analytics'/><category term='ATT'/><category term='iTunes'/><category term='pixel'/><category term='mac'/><category term='LaserJet'/><category term='CostaRicaPHP'/><category term='Bluetooth'/><category term='Seguridad'/><category term='CNAME Record'/><category term='GPRS'/><category term='related'/><category term='Enlightenment'/><category term='OpenBSD'/><category term='Work Spaces'/><category term='Espejo'/><category term='GSM'/><category term='Phishing'/><category term='blogsearch'/><category term='gPhone'/><category term='cache'/><category term='apple'/><category term='Impresoras'/><category term='AJAX'/><category term='youtube'/><category term='osx'/><category term='Finder'/><category term='Leopard'/><category term='site'/><category term='OS X'/><category term='Zend_Framework'/><category term='appletv'/><category term='macworld'/><category term='define'/><category term='películas'/><category term='filetype'/><category term='steve jobs'/><category term='amazon'/><category term='TXT Record'/><category term='cámara'/><category term='XHTML'/><category term='tomato'/><category term='Android'/><category term='Yahoo'/><category term='linux'/><category term='ianchor'/><category term='HP'/><category term='Wi-Fi'/><category term='REST'/><category term='videos'/><category term='Blogspot'/><category term='ECCI'/><category term='API'/><category term='Google'/><category term='tivo'/><category term='Tiger'/><category term='Universidad de Costa Rica'/><category term='SOAP'/><category term='PHP'/><category term='OReilly'/><category term='google earth'/><category term='FreeSBIE'/><category term='Telefonía Móvil'/><category term='EDGE'/><category term='blue phone'/><category term='Orkut'/><category term='omnigraffle'/><category term='Google Apps'/><category term='WiFi'/><category term='Desarrollo Web'/><title type='text'>Comments on Costa Rica Internet Works: PHP: Igual versus Idéntico</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.internetworks.co.cr/feeds/5359486786143066112/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html'/><author><name>Internet Works</name><uri>http://www.blogger.com/profile/13478405706100876115</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='11' src='http://www.internetworks.co.cr/imagenes/internetworksb.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-9074796127911745042</id><published>2010-12-29T03:11:00.339-06:00</published><updated>2010-12-29T03:11:00.339-06:00</updated><title type='text'>Happy New Year[url=http://nfksghjskf.com/],[/url] ...</title><content type='html'>Happy New Year[url=http://nfksghjskf.com/],[/url] everyone! :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/9074796127911745042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/9074796127911745042'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1293613860339#c9074796127911745042' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1615867467'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-4601697392367294111</id><published>2010-04-16T12:08:06.239-06:00</published><updated>2010-04-16T12:08:06.239-06:00</updated><title type='text'>Hola.
Antes de nada, perdona que te escriba esto c...</title><content type='html'>Hola.&lt;br /&gt;Antes de nada, perdona que te escriba esto como un comentario, pero es que no vi tu email en el tu blog&lt;br /&gt;Soy el webmaster de publizida.es&lt;br /&gt;&lt;br /&gt;Publizida BLOG&amp;#39;S es un ranking / directorio de clasificación de blogs en español, creado con el único propósito de dar a conocer los mejores blog&amp;#39;s&lt;br /&gt;&lt;br /&gt;Registrando su blog en  Publizida BLOG&amp;#39;S accederás al servicio de estadísticas gratuitas y podrás participar en el TOP.RANKING&lt;br /&gt;También puedes acceder a la valoración que los usuarios hacen de su página.&lt;br /&gt;&lt;br /&gt;Y lo mas importante...&lt;br /&gt;darte a conocer y aumentar el numero de visitantes a tu BLOG de manera totalmente gratuita.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Si te interesa puedes darte de alta&lt;br /&gt;&lt;br /&gt;&lt;a href="http://publizida.es/index.php?a=join" rel="nofollow"&gt;ALTA DIRECTORIO DE BLOGS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;o visitanos en ......&lt;br /&gt;&lt;br /&gt;&lt;a href="http://PUBLIZIDA.ES" rel="nofollow"&gt;DIRECTORIO DE BLOGS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;HTTP://PUBLIZIDA.ES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Muchas Gracias por tu tiempo... y disculpa si no fue la mejor manera de darme a conocer.&lt;br /&gt;&lt;br /&gt;Un saludo.&lt;br /&gt;&lt;br /&gt;DAVID T.&lt;br /&gt;Webmaster de Publizida.es</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/4601697392367294111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/4601697392367294111'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1271441286239#c4601697392367294111' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1823977843'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-8838224320009584756</id><published>2010-03-06T13:55:39.319-06:00</published><updated>2010-03-06T13:55:39.319-06:00</updated><title type='text'>Si, probablemente lo sea</title><content type='html'>Si, probablemente lo sea</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/8838224320009584756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/8838224320009584756'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1267905339319#c8838224320009584756' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1358837347'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-1575498514117756402</id><published>2009-12-31T19:02:37.047-06:00</published><updated>2009-12-31T19:02:37.047-06:00</updated><title type='text'>Thank you for your help! 

rH3uYcBX</title><content type='html'>Thank you for your help! &lt;br /&gt;&lt;br /&gt;rH3uYcBX</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/1575498514117756402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/1575498514117756402'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1262307757047#c1575498514117756402' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1179122018'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-8302854538293568073</id><published>2008-07-11T21:19:00.000-06:00</published><updated>2008-07-11T21:19:00.000-06:00</updated><title type='text'>Tienes toda la razón!, por ahí hice la mención que...</title><content type='html'>Tienes toda la razón!, por ahí hice la mención que ambos tenían el mismo valor (1.2157431200818E+23), pero que pasa si yo no quiero tratarlo como un número sino como una cadena de caracteres?&lt;BR/&gt;&lt;BR/&gt;Para mí lo lógico sería que al hacer esta asignación:&lt;BR/&gt;&lt;BR/&gt;$a = '121574312008178411518235';&lt;BR/&gt;$b = '121574312008178402299047';&lt;BR/&gt;&lt;BR/&gt;sea tomada como un string...&lt;BR/&gt;&lt;BR/&gt;El problema es justamente ese, porque si yo hiciera:&lt;BR/&gt;&lt;BR/&gt;$a = 'A121574312008178411518235';&lt;BR/&gt;$b = 'A121574312008178402299047';&lt;BR/&gt;&lt;BR/&gt;el comportamiento que tiene si es el esperado.&lt;BR/&gt;&lt;BR/&gt;Creo que este es un mal generalizado de los lenguajes no tipados, recién probé también en perl (con ==) y el comportamiento es el mismo.&lt;BR/&gt;&lt;BR/&gt;En bash sería una instrucción así:&lt;BR/&gt;&lt;BR/&gt;if [ "X$a" = "X$b" ]; then&lt;BR/&gt;   ....&lt;BR/&gt;else&lt;BR/&gt;   ....&lt;BR/&gt;fi&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;... adivinen que? ... en php y en perl sería lo mismo ...&lt;BR/&gt;&lt;BR/&gt;Saludos</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/8302854538293568073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/8302854538293568073'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1215832740000#c8302854538293568073' title=''/><author><name>Mauricio</name><uri>http://www.blogger.com/profile/15125732308166345043</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mauricioaraya.net/me.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1390654506'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-1544610052734161479</id><published>2008-07-11T18:00:00.000-06:00</published><updated>2008-07-11T18:00:00.000-06:00</updated><title type='text'>Los enteros en PHP son de 32bits o 64 bits dependi...</title><content type='html'>Los enteros en PHP son de 32bits o 64 bits dependiendo del hardware.&lt;BR/&gt;&lt;BR/&gt;De hecho si uno hace: &lt;BR/&gt;echo PHP_INT_MAX;&lt;BR/&gt;&lt;BR/&gt;Retorna: 2147483647&lt;BR/&gt;&lt;BR/&gt;Lo que quiere decir que el limite para enteros es:&lt;BR/&gt;-2,147,483,647 a 2,147,483,647&lt;BR/&gt;&lt;BR/&gt;Numeros mayores que esos son convertidos a "float" los cuales tienen una precision de 14 &lt;BR/&gt;&lt;BR/&gt;digitos por defecto. (php.ini =&gt; precision = 14)&lt;BR/&gt;&lt;BR/&gt;En el caso del numero "121574312008178411518235" este se convierte a float debido a que &lt;BR/&gt;&lt;BR/&gt;sobrepasa el maximo de 2,147,483,647, ahora, al convertirse a float y exceder la precision de &lt;BR/&gt;&lt;BR/&gt;14 caracteres se convierte a notacion cientifica.&lt;BR/&gt;&lt;BR/&gt;Se puede extender la precision la precision, ahora esto hace que despliegue &lt;BR/&gt;&lt;BR/&gt;"121574312008178411518235" y no "1.2157431200818E+23" pero el resultado sigue siendo el mismo, &lt;BR/&gt;&lt;BR/&gt;ya que a nivel interno, sigue siendo "1.2157431200818E+23".&lt;BR/&gt;&lt;BR/&gt;Se puede hacer un truco para trabajar con enteros grandes:&lt;BR/&gt;1. Usar MySQL para las&lt;BR/&gt;   select if(121574312008178411518235 &lt;&gt; 121574312008178402299047, 'diferentes', 'iguales');&lt;BR/&gt;&lt;BR/&gt;Ahora para poder hacer:&lt;BR/&gt;&lt; ? php&lt;BR/&gt;// Extendemos la capacidad de manejar numeros de hasta 30 caracteres&lt;BR/&gt;ini_set('precision', '30');&lt;BR/&gt;&lt;BR/&gt;$sql = "select if({$a} &lt;&gt; {$b}, 'diferentes', 'iguales') resultado";&lt;BR/&gt;$rs = mysql_query($sql);&lt;BR/&gt;$row = mysql_fetch_array($rs);&lt;BR/&gt;print_r($row['resultado']); // diferentes</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/1544610052734161479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/1544610052734161479'/><link rel='alternate' type='text/html' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html?showComment=1215820800000#c1544610052734161479' title=''/><author><name>Pablo Viquez</name><uri>http://www.blogger.com/profile/14919407791920065550</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-553782740'/></entry><entry><id>tag:blogger.com,1999:blog-1669601319617062229.post-4871512751075577531</id><published>2008-07-11T13:23:00.000-06:00</published><updated>2008-07-11T13:23:00.000-06:00</updated><title type='text'></title><content type='html'>Este comentario ha sido eliminado por el autor.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/4871512751075577531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669601319617062229/5359486786143066112/comments/default/4871512751075577531'/><author><name>Pablo Viquez</name><uri>http://www.blogger.com/profile/14919407791920065550</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.internetworks.co.cr/2008/07/php-igual-versus-identico.html' ref='tag:blogger.com,1999:blog-1669601319617062229.post-5359486786143066112' source='http://www.blogger.com/feeds/1669601319617062229/posts/default/5359486786143066112' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-553782740'/></entry></feed>
