{"id":37161,"date":"2019-10-31T22:16:05","date_gmt":"2019-10-31T19:16:05","guid":{"rendered":"https:\/\/prohoster.info\/blog\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej\/"},"modified":"2019-10-31T22:16:05","modified_gmt":"2019-10-31T19:16:05","slug":"razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pt\/blog\/news\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej","title":{"rendered":"Desenvolvedores PHP propuseram P++, um dialeto com tipagem forte","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Desenvolvedores da linguagem PHP <noindex><a rel=\"nofollow\" href=\"https:\/\/externals.io\/message\/106503\">lan\u00e7aram<\/a><\/noindex> com a ideia de criar um novo dialeto P++, que ajudar\u00e1 a levar a linguagem PHP a um novo n\u00edvel. No formato atual, o desenvolvimento do PHP \u00e9 dificultado pela necessidade de manter a compatibilidade com a base de c\u00f3digo existente dos projetos web, o que mant\u00e9m os desenvolvedores em limites restritos. Como solu\u00e7\u00e3o <noindex><a rel=\"nofollow\" href=\"https:\/\/wiki.php.net\/pplusplus\/faq\">\u00e9 oferecida<\/a><\/noindex> Paralelamente, come\u00e7aremos a desenvolver um novo dialeto PHP \u2014 P++, cuja implementa\u00e7\u00e3o ser\u00e1 realizada sem se preocupar com a necessidade de manter a compatibilidade retroativa, permitindo assim a adi\u00e7\u00e3o de melhorias revolucion\u00e1rias ao idioma e a elimina\u00e7\u00e3o de conceitos obsoletos.<\/p>\n<p>As mudan\u00e7as mais significativas no P++ incluir\u00e3o a ado\u00e7\u00e3o de tipagem estrita, a elimina\u00e7\u00e3o do uso das tags \u00ab&lt;?\u00bb e a interrup\u00e7\u00e3o do suporte a array() em favor da sintaxe \u00ab[]\u00bb, assim como a proibi\u00e7\u00e3o do uso do espa\u00e7o de nomes global para fun\u00e7\u00f5es.<\/p>\n<p> O nome P++ (PHP Plus Plus) foi previamente escolhido por analogia com C++. Prop\u00f5e-se desenvolver PHP e P++ lado a lado e usar um \u00fanico runtime. Componentes de baixo n\u00edvel n\u00e3o relacionados \u00e0 sintaxe, estruturas de dados, extens\u00f5es e otimiza\u00e7\u00f5es de desempenho ser\u00e3o desenvolvidos simultaneamente para PHP e P++, mas no modo PHP a compatibilidade retroativa ser\u00e1 mantida, enquanto no P++ ser\u00e1 poss\u00edvel experimentar a evolu\u00e7\u00e3o da linguagem. <\/p>\n<p>O c\u00f3digo em PHP e P++ poder\u00e1 ser misturado em uma \u00fanica aplica\u00e7\u00e3o e executado por um \u00fanico interpretador, mas o m\u00e9todo de separa\u00e7\u00e3o de c\u00f3digo ainda n\u00e3o foi definido. Ao mesmo tempo, os desenvolvedores n\u00e3o desistem dos planos para o desenvolvimento da vers\u00e3o PHP 8, na qual <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50428\">est\u00e3o programados<\/a><\/noindex> ser\u00e1 adicionado um compilador JIT e ferramentas para garantir portabilidade com bibliotecas em C\/C++. O projeto P++ ainda est\u00e1 em fase de discuss\u00e3o da proposta. O principal defensor do P++ \u00e9 Zeev Suraski (<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Zeev_Suraski\">Zeev Suraski<\/a><\/noindex>), um dos l\u00edderes da comunidade de desenvolvedores PHP, cofundador da Zend Technologies e autor do mecanismo Zend Engine. <\/p>\n<p>De <noindex><a rel=\"nofollow\" href=\"https:\/\/wiki.php.net\/pplusplus\/concerns\">oposi\u00e7\u00f5es<\/a><\/noindex> dos oponentes incluem preocupa\u00e7\u00f5es sobre a falta de recursos para promover o projeto (atualmente, apenas dois desenvolvedores trabalham em tempo integral no PHP), a possibilidade de fragmenta\u00e7\u00e3o da comunidade, a concorr\u00eancia com a linguagem j\u00e1 existente <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=39368\">Hack<\/a><\/noindex> (PHP com tipagem est\u00e1tica), a experi\u00eancia do projeto HHVM (que acabou <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50133\">desistindo<\/a><\/noindex> manter PHP e Hack no mesmo runtime), a necessidade de alterar a sem\u00e2ntica para tipagem estrita, o perigo de estagna\u00e7\u00e3o do PHP e o desenvolvimento de inova\u00e7\u00f5es apenas no P++, quest\u00f5es sobre a organiza\u00e7\u00e3o da coexist\u00eancia e intera\u00e7\u00e3o entre PHP e P++ (a convers\u00e3o de c\u00f3digo PHP para P++ pode ser t\u00e3o complexa que ser\u00e1 necess\u00e1rio reescrever a aplica\u00e7\u00e3o), a incompatibilidade do P++ com ferramentas existentes para PHP e a necessidade de convencer os autores de ferramentas, sistemas de teste e IDE a garantirem suporte para a nova vers\u00e3o).<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Fonte: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51291\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u044f\u0437\u044b\u043a\u0430 PHP \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u0430 P++, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u044f\u0437\u044b\u043a PHP \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c. \u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044e PHP \u043c\u0435\u0448\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u043e\u0439 web-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0447\u0442\u043e \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u043c\u043a\u0430\u0445. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0434\u0438\u0430\u043b\u0435\u043a\u0442 PHP &#8212; P++, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-37161","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u044f\u0437\u044b\u043a\u0430 PHP \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u0430 P++, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u044f\u0437\u044b\u043a PHP \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pt\/blog\/news\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 PHP \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b\u0438 P++, \u0434\u0438\u0430\u043b\u0435\u043a\u0442 \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u044f\u0437\u044b\u043a\u0430 PHP \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u0430 P++, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u044f\u0437\u044b\u043a PHP \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pt\/blog\/news\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:16:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:16:05+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Os desenvolvedores do PHP apresentaram o P++, um dialeto com tipagem estrita | ProHoster","description":"Os desenvolvedores da linguagem PHP propuseram a cria\u00e7\u00e3o de um novo dialeto P++, que ajudar\u00e1 a levar a linguagem PHP a um novo n\u00edvel.","canonical_url":"https:\/\/prohoster.info\/pt\/blog\/news\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pt_PT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 PHP \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b\u0438 P++, \u0434\u0438\u0430\u043b\u0435\u043a\u0442 \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 | ProHoster","og:description":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u044f\u0437\u044b\u043a\u0430 PHP \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u0430 P++, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u044f\u0437\u044b\u043a PHP \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c.","og:url":"https:\/\/prohoster.info\/pt\/blog\/news\/razrabotchiki-php-predlozhili-p-dialekt-so-strogoj-tipizatsiej","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:16:05+00:00","article:modified_time":"2019-10-31T19:16:05+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37161","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 06:21:22","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:32:14","updated":"2026-01-22 06:21:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/37161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=37161"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/37161\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=37161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=37161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=37161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}