{"id":1937,"date":"2021-10-11T20:47:37","date_gmt":"2021-10-12T02:47:37","guid":{"rendered":"https:\/\/tecsify.com\/blog\/?p=1937"},"modified":"2021-10-11T20:47:38","modified_gmt":"2021-10-12T02:47:38","slug":"php8","status":"publish","type":"post","link":"https:\/\/tecsify.com\/blog\/php8\/","title":{"rendered":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n"},"content":{"rendered":"\n<p><strong>PHP <\/strong>es uno de los lenguajes de programaci\u00f3n m\u00e1s <strong>f\u00e1ciles de aprender<\/strong>. Con un buen tutorial de PHP y la motivaci\u00f3n adecuada, puedes escribir tus primeros c\u00f3digos de programaci\u00f3n y ejecutar comandos en pocos minutos.<\/p>\n\n\n\n<p>PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se produjo una gran actualizaci\u00f3n en el lenguaje de c\u00f3digo abierto. Despu\u00e9s de un a\u00f1o, otra peque\u00f1a actualizaci\u00f3n, la 8.1, est\u00e1 aqu\u00ed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfQu\u00e9 trae de nuevo PHP 8.1?<\/h2>\n\n\n\n<p>PHP 8.1 ha sido lanzado en versi\u00f3n beta y est\u00e1 siendo probado en la actualidad. La actualizaci\u00f3n definitiva no llegar\u00e1 hasta noviembre de 2021, pero ya se conocen las novedades:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/wiki.php.net\/rfc\/enumerations\" target=\"_blank\" rel=\"noreferrer noopener\">Enum<\/a>: Las llamadas enumeraciones (enumeraciones con n\u00famero determinado de valores) est\u00e1n ahora disponibles como tipo variable.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/fibers\" target=\"_blank\" rel=\"noreferrer noopener\">Fibers<\/a>: El nuevo tipo de bloque de c\u00f3digo fibers te ofrece la posibilidad de ejecutar m\u00faltiples hilos de programa en paralelo.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/array_unpacking_string_keys\" target=\"_blank\" rel=\"noreferrer noopener\">Arrays<\/a>: Desde PHP 7.4 se pueden desempaquetar arrays con valores num\u00e9ricos. Ahora esto tambi\u00e9n es posible para las matrices con cadenas.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/readonly_properties_v2\" target=\"_blank\" rel=\"noreferrer noopener\">Readonly<\/a>: A partir de ahora, las propiedades de las clases pueden marcarse como de solo lectura (&#8216;readonly&#8217;), y, por tanto, ya no son modificables.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/pure-intersection-types\" target=\"_blank\" rel=\"noreferrer noopener\">Intersecci\u00f3n<\/a>: Los tipos de intersecci\u00f3n (b\u00e1sicamente los hom\u00f3logos de los tipos de uni\u00f3n) est\u00e1n ahora disponibles.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/noreturn_type\" target=\"_blank\" rel=\"noreferrer noopener\">Never<\/a>: El nuevo valor de retorno &#8216;never&#8217; indica que una funci\u00f3n se termina y no devuelve ning\u00fan otro valor.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/final_class_const\" target=\"_blank\" rel=\"noreferrer noopener\">Final<\/a>: Ahora puedes marcar las constantes de la clase con &#8216;final&#8217; para que no puedan ser modificadas por las subclases.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/fsync_function\" target=\"_blank\" rel=\"noreferrer noopener\">Fsync<\/a>: PHP 8.1 introduce las dos funciones &#8216;fsync&#8217; y &#8216;fdatasync&#8217; para sincronizar los datos del buffer al medio de almacenamiento.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/explicit_octal_notation\" target=\"_blank\" rel=\"noreferrer noopener\">Octal<\/a>: Para indicar el sistema num\u00e9rico octal, adem\u00e1s del &#8216;0&#8217; (cero), se puede utilizar en el futuro el prefijo &#8216;0o&#8217; (cero y O min\u00fascula).<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/restrict_globals_usage\" target=\"_blank\" rel=\"noreferrer noopener\">Globals<\/a>: El uso de &#8216;$GLOBALS&#8217; ha sido ligeramente restringido y ahora resulta en un mensaje de error en algunos casos.<\/li><li><a href=\"https:\/\/wiki.php.net\/rfc\/deprecate_null_to_scalar_internal_arg\" target=\"_blank\" rel=\"noreferrer noopener\">Null<\/a>: Las funciones internas ya no aceptar\u00e1n valores nulos en argumentos no anulables.<\/li><\/ul>\n\n\n\n<p><strong>Tambi\u00e9n te puede interesar: <a href=\"https:\/\/tecsify.com\/blog\/python-iee\/\">\u00a1Aprende Python ya! La conclusi\u00f3n del Instituto de Ingenieros El\u00e9ctricos y Electr\u00f3nicos (IEEE)<\/a><\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.lucushost.com\/blog\/wp-content\/uploads\/2020\/12\/php-8.png\" alt=\"PHP 8: Lanzamiento, caracter\u00edsticas y mejoras | Blog de LucusHost\"\/><figcaption>De acuerdo a las estad\u00edsticas de W3Techs, el 61.7% de todos los sitios web cuyo lenguaje de programaci\u00f3n del lado del servidor conocemos, utilizan actualmente PHP 5.x,<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">PHP JIT (Just in Time Compiler)<\/h2>\n\n\n\n<p>La caracter\u00edstica m\u00e1s destacada que viene con PHP 8 es el <strong>compilador Just-in-time (JIT)<\/strong>. \u00bfDe qu\u00e9 se trata JIT?<\/p>\n\n\n\n<p><a href=\"https:\/\/wiki.php.net\/rfc\/jit\" target=\"_blank\" rel=\"noreferrer noopener\">La propuesta de la RFC<\/a>\u00a0describe el JIT de la siguiente manera:<\/p>\n\n\n\n<p>\u00abPHP JIT est\u00e1 implementado como una parte casi independiente de OPcache. Puede ser activado\/desactivado en tiempo de compilaci\u00f3n de PHP y en tiempo de ejecuci\u00f3n. Cuando se habilita, el c\u00f3digo nativo de los archivos PHP se almacena en una regi\u00f3n adicional de la memoria compartida de OPcache y los manejadores op_array\u2192opcodes[]. mantienen punteros a los puntos de entrada del c\u00f3digo JIT\u00bb.<\/p>\n\n\n\n<p>Entonces, \u00bfc\u00f3mo llegamos a JIT y cu\u00e1l es la diferencia entre JIT vs. OPcache?<\/p>\n\n\n\n<p>Para entender mejor lo que es JIT para PHP, echemos un vistazo r\u00e1pido a c\u00f3mo<a href=\"https:\/\/kinsta.com\/es\/base-de-conocimiento\/que-es-php\/\"> PHP<\/a>&nbsp;se ejecuta desde el c\u00f3digo fuente hasta el resultado final.<\/p>\n\n\n\n<p>La ejecuci\u00f3n de PHP es un proceso de 4 etapas:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Lexing\/Tokenizaci\u00f3n<\/strong>: Primero, el int\u00e9rprete lee el c\u00f3digo PHP y construye un conjunto de fichas.<\/li><li><strong>An\u00e1lisis<\/strong>: El int\u00e9rprete comprueba si el gui\u00f3n coincide con las reglas sint\u00e1cticas y utiliza fichas para construir un \u00c1rbol <a href=\"https:\/\/en.wikipedia.org\/wiki\/Abstract_syntax_tree\" target=\"_blank\" rel=\"noreferrer noopener\">de Sintaxis Abstracta<\/a> (AST), que es <a href=\"https:\/\/wiki.php.net\/rfc\/abstract_syntax_tree\" target=\"_blank\" rel=\"noreferrer noopener\">una representaci\u00f3n jer\u00e1rquica de la estructura del c\u00f3digo fuente<\/a>.<\/li><li><strong>Recopilaci\u00f3n<\/strong>: El int\u00e9rprete atraviesa el \u00e1rbol y traduce los nodos AST en opcodes Zend de bajo nivel, que son identificadores num\u00e9ricos que determinan el tipo de <a href=\"https:\/\/nikic.github.io\/2017\/04\/14\/PHP-7-Virtual-machine.html\" target=\"_blank\" rel=\"noreferrer noopener\">instrucci\u00f3n realizada por el Zend VM<\/a>.<\/li><li><strong>Interpretaci\u00f3n<\/strong>: Los c\u00f3digos \u00f3pticos se interpretan y se ejecutan en el VM Zend.<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfHabr\u00e1 complicaciones con los c\u00f3digos antiguos?<\/h2>\n\n\n\n<p>Puesto que PHP 8 es una nueva versi\u00f3n principal, hay que tener en cuenta que algunos c\u00f3digos antiguos no ser\u00e1n compatibles. La mayor\u00eda de los cambios que podr\u00edan presentar complicaciones ya estaban obsoletos en las versiones <a href=\"https:\/\/wiki.php.net\/rfc\/deprecations_php_7_2\" target=\"_blank\" rel=\"noreferrer noopener\">7.2<\/a>, <a href=\"https:\/\/wiki.php.net\/rfc\/deprecations_php_7_3\" target=\"_blank\" rel=\"noreferrer noopener\">7.3<\/a> y <a href=\"https:\/\/wiki.php.net\/rfc\/deprecations_php_7_4\" target=\"_blank\" rel=\"noreferrer noopener\">7.4<\/a>.<\/p>\n\n\n\n<p>Los \u00faltimos cambios incluyen:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The&nbsp;<em>real<\/em>&nbsp;type<\/li><li>Magic quotes legacy<\/li><li><em>array_key_exists()<\/em>&nbsp;with objects<\/li><li><em>FILTER_SANITIZE_MAGIC_QUOTES<\/em>&nbsp;filter<\/li><li>Reflection&nbsp;<em>export()<\/em>&nbsp;methods<\/li><li><em>mb_strrpos()<\/em>&nbsp;with encoding as 3rd argument<\/li><li><em>implode()<\/em>&nbsp;parameter order mix<\/li><li>Unbinding&nbsp;<em>$this<\/em>&nbsp;from non-static closures<\/li><li><em>hebrevc()<\/em>&nbsp;function<\/li><li><em>convert_cyr_string()<\/em>&nbsp;function<\/li><li><em>money_format()<\/em>&nbsp;function<\/li><li><em>ezmlm_hash()<\/em>&nbsp;function<\/li><li><em>restore_include_path()<\/em>&nbsp;function<\/li><li><em>allow_url_include<\/em>&nbsp;ini directive<\/li><\/ul>\n\n\n\n<p>Si has mantenido tu c\u00f3digo actualizado, no tendr\u00e1s ning\u00fan problema, incluso teniendo la nueva actualizaci\u00f3n <strong>cambios incompatibles con versiones anteriores<\/strong>. En la <a href=\"https:\/\/www.php.net\/releases\/8.0\/es.php\" target=\"_blank\" rel=\"noreferrer noopener\">p\u00e1gina oficial del proyecto PHP<\/a> puedes encontrar una lista completa con todos los cambios.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.<\/p>\n","protected":false},"author":3,"featured_media":1938,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11,86,3,2],"tags":[89,98,99,8,29,71],"class_list":{"0":"post-1937","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-desarrollo-web","8":"category-guias-y-tutoriales","9":"category-programacion","10":"category-tech","11":"tag-guia","12":"tag-php","13":"tag-php8","14":"tag-programacion","15":"tag-tecsify","16":"tag-tutorial"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog<\/title>\n<meta name=\"description\" content=\"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tecsify.com\/blog\/php8\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog\" \/>\n<meta property=\"og:description\" content=\"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tecsify.com\/blog\/php8\/\" \/>\n<meta property=\"og:site_name\" content=\"Tecsify Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Tecsify\" \/>\n<meta property=\"article:author\" content=\"facebook.com\/tecsify\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-12T02:47:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-12T02:47:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"773\" \/>\n\t<meta property=\"og:image:height\" content=\"522\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Redacci\u00f3n Tecsify\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tecsify\" \/>\n<meta name=\"twitter:site\" content=\"@tecsify\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Redacci\u00f3n Tecsify\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/\"},\"author\":{\"name\":\"Redacci\u00f3n Tecsify\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/person\\\/4488c2e95d0b957be1ca286641e69888\"},\"headline\":\"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n\",\"datePublished\":\"2021-10-12T02:47:37+00:00\",\"dateModified\":\"2021-10-12T02:47:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/\"},\"wordCount\":851,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/php8.jpg\",\"keywords\":[\"Guia\",\"PHP\",\"PHP8\",\"Programacion\",\"Tecsify\",\"Tutorial\"],\"articleSection\":[\"Desarrollo Web\",\"Gu\u00edas y Tutoriales\",\"Programaci\u00f3n y Desarrollo de Software\",\"Tecnolog\u00eda e innovaci\u00f3n\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/\",\"name\":\"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/php8.jpg\",\"datePublished\":\"2021-10-12T02:47:37+00:00\",\"dateModified\":\"2021-10-12T02:47:38+00:00\",\"description\":\"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/php8.jpg\",\"contentUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/php8.jpg\",\"width\":773,\"height\":522,\"caption\":\"PHP8 Tecsify\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/php8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inicio\",\"item\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\",\"name\":\"Tecsify Blog\",\"description\":\"Tecnolog\u00eda, IA y Desarrollo de Software\",\"publisher\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#organization\"},\"alternateName\":\"Tecsify Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#organization\",\"name\":\"Tecsify\",\"alternateName\":\"Tecsify Blog\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/bluenew.png\",\"contentUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/bluenew.png\",\"width\":830,\"height\":443,\"caption\":\"Tecsify\"},\"image\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Tecsify\",\"https:\\\/\\\/x.com\\\/tecsify\",\"https:\\\/\\\/www.instagram.com\\\/tecsify\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCalG-fWPHHWG-XTzhcCn0_A\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/tecsify\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/person\\\/4488c2e95d0b957be1ca286641e69888\",\"name\":\"Redacci\u00f3n Tecsify\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/cropped-cropped-500px-96x96.png\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/cropped-cropped-500px-96x96.png\",\"contentUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/cropped-cropped-500px-96x96.png\",\"caption\":\"Redacci\u00f3n Tecsify\"},\"description\":\"\u00a1Somos el equipo de redacci\u00f3n, investigaci\u00f3n, edici\u00f3n y publicaci\u00f3n de Tecsify! Puedes contactarnos escribiendo a contacto@tecsify.com \u00a1Ser\u00e1 un gusto responderte!\",\"sameAs\":[\"http:\\\/\\\/tecsify.com\",\"facebook.com\\\/tecsify\\\/\",\"instagram.com\\\/tecsify\\\/\",\"https:\\\/\\\/x.com\\\/tecsify\"],\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/author\\\/tecsify\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog","description":"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tecsify.com\/blog\/php8\/","og_locale":"es_ES","og_type":"article","og_title":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog","og_description":"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.","og_url":"https:\/\/tecsify.com\/blog\/php8\/","og_site_name":"Tecsify Blog","article_publisher":"https:\/\/www.facebook.com\/Tecsify","article_author":"facebook.com\/tecsify\/","article_published_time":"2021-10-12T02:47:37+00:00","article_modified_time":"2021-10-12T02:47:38+00:00","og_image":[{"width":773,"height":522,"url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg","type":"image\/jpeg"}],"author":"Redacci\u00f3n Tecsify","twitter_card":"summary_large_image","twitter_creator":"@tecsify","twitter_site":"@tecsify","twitter_misc":{"Written by":"Redacci\u00f3n Tecsify","Est. reading time":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tecsify.com\/blog\/php8\/#article","isPartOf":{"@id":"https:\/\/tecsify.com\/blog\/php8\/"},"author":{"name":"Redacci\u00f3n Tecsify","@id":"https:\/\/tecsify.com\/blog\/#\/schema\/person\/4488c2e95d0b957be1ca286641e69888"},"headline":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n","datePublished":"2021-10-12T02:47:37+00:00","dateModified":"2021-10-12T02:47:38+00:00","mainEntityOfPage":{"@id":"https:\/\/tecsify.com\/blog\/php8\/"},"wordCount":851,"commentCount":0,"publisher":{"@id":"https:\/\/tecsify.com\/blog\/#organization"},"image":{"@id":"https:\/\/tecsify.com\/blog\/php8\/#primaryimage"},"thumbnailUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg","keywords":["Guia","PHP","PHP8","Programacion","Tecsify","Tutorial"],"articleSection":["Desarrollo Web","Gu\u00edas y Tutoriales","Programaci\u00f3n y Desarrollo de Software","Tecnolog\u00eda e innovaci\u00f3n"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tecsify.com\/blog\/php8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tecsify.com\/blog\/php8\/","url":"https:\/\/tecsify.com\/blog\/php8\/","name":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n | Tecsify Blog","isPartOf":{"@id":"https:\/\/tecsify.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tecsify.com\/blog\/php8\/#primaryimage"},"image":{"@id":"https:\/\/tecsify.com\/blog\/php8\/#primaryimage"},"thumbnailUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg","datePublished":"2021-10-12T02:47:37+00:00","dateModified":"2021-10-12T02:47:38+00:00","description":"PHP 7 ya trajo consigo una gran optimizaci\u00f3n de la velocidad, lo que aument\u00f3 su prestigio. Con la versi\u00f3n 8.0, se vienen cosas increibles.","breadcrumb":{"@id":"https:\/\/tecsify.com\/blog\/php8\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tecsify.com\/blog\/php8\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/tecsify.com\/blog\/php8\/#primaryimage","url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg","contentUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/10\/php8.jpg","width":773,"height":522,"caption":"PHP8 Tecsify"},{"@type":"BreadcrumbList","@id":"https:\/\/tecsify.com\/blog\/php8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https:\/\/tecsify.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP 8: todo lo que debes saber sobre la nueva actualizaci\u00f3n"}]},{"@type":"WebSite","@id":"https:\/\/tecsify.com\/blog\/#website","url":"https:\/\/tecsify.com\/blog\/","name":"Tecsify Blog","description":"Tecnolog\u00eda, IA y Desarrollo de Software","publisher":{"@id":"https:\/\/tecsify.com\/blog\/#organization"},"alternateName":"Tecsify Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tecsify.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/tecsify.com\/blog\/#organization","name":"Tecsify","alternateName":"Tecsify Blog","url":"https:\/\/tecsify.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/tecsify.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/bluenew.png","contentUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/bluenew.png","width":830,"height":443,"caption":"Tecsify"},"image":{"@id":"https:\/\/tecsify.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Tecsify","https:\/\/x.com\/tecsify","https:\/\/www.instagram.com\/tecsify","https:\/\/www.youtube.com\/channel\/UCalG-fWPHHWG-XTzhcCn0_A\/","https:\/\/www.linkedin.com\/company\/tecsify\/"]},{"@type":"Person","@id":"https:\/\/tecsify.com\/blog\/#\/schema\/person\/4488c2e95d0b957be1ca286641e69888","name":"Redacci\u00f3n Tecsify","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2020\/12\/cropped-cropped-500px-96x96.png","url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2020\/12\/cropped-cropped-500px-96x96.png","contentUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2020\/12\/cropped-cropped-500px-96x96.png","caption":"Redacci\u00f3n Tecsify"},"description":"\u00a1Somos el equipo de redacci\u00f3n, investigaci\u00f3n, edici\u00f3n y publicaci\u00f3n de Tecsify! Puedes contactarnos escribiendo a contacto@tecsify.com \u00a1Ser\u00e1 un gusto responderte!","sameAs":["http:\/\/tecsify.com","facebook.com\/tecsify\/","instagram.com\/tecsify\/","https:\/\/x.com\/tecsify"],"url":"https:\/\/tecsify.com\/blog\/author\/tecsify\/"}]}},"_links":{"self":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/posts\/1937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/comments?post=1937"}],"version-history":[{"count":1,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/posts\/1937\/revisions"}],"predecessor-version":[{"id":1939,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/posts\/1937\/revisions\/1939"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/media\/1938"}],"wp:attachment":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/media?parent=1937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/categories?post=1937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/tags?post=1937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}