3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strip_html_tags( $text ) { $text = preg_replace( array( // special handling for this blog '/<div class=\"post_source_linkbar[^>]*>.*<\/div>/siu', // Remove invisible content '@<head[^>]*?>.*?</head>@siu', '@<style[^>]*?>.*?</style>@siu', '@<script[^>]*?.*?</script>@siu', '@<object[^>]*?.*?</object>@siu', '@<embed[^>]*?.*?</embed>@siu', '@<applet[^>]*?.*?</applet>@siu', '@<noframes[^>]*?.*?</noframes>@siu', '@<noscript[^>]*?.*?</noscript>@siu', '@<noembed[^>]*?.*?</noembed>@siu', // Add line breaks before and after blocks '@</?((address)|(blockquote)|(center)|(del))@iu', '@</?((div)|(h[1-9])|(ins)|(isindex)|(p)|(pre))@iu', '@</?((dir)|(dl)|(dt)|(dd)|(li)|(menu)|(ol)|(ul))@iu', '@</?((table)|(th)|(td)|(caption))@iu', '@</?((form)|(button)|(fieldset)|(legend)|(input))@iu', '@</?((label)|(select)|(optgroup)|(option)|(textarea))@iu', '@</?((frameset)|(frame)|(iframe))@iu', ), array( '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', "\n\$0", "\n\$0", "\n\$0", "\n\$0", "\n\$0", "\n\$0", "\n\$0", "\n\$0", ), $text ); return trim(preg_replace("/[[:blank:]]+/"," ",strip_tags( $text ))); } $content = <<<HTML <p class="post_content"><img class="enclosure odd" src="http://www.euractiv.com/sites/default/files/divestment_oxford_fossil_fuel_energy_creditkamyar_adl_flickr.jpg"><b><p>Almost 400 institutions have signed up to the global fossil fuel divestment campaign since 2012, but an NGO report has warned that their commitments are not enough to make a real difference. <a href="http://www.euractiv.fr/sections/developpement-durable/le-sortie-des-energies-fossiles-progresse-lentement-317268">Journal de l'Environnement reports</a>. </p> </b> </p> <p>"Every week we see new withdrawals of investments in oil, coal and gas," Bill McKibben told a press conference in Paris on Tuesday (1 September). The American environmentalist is the co-founder of website <a href="http://350.org/">350.org</a>, the organisation behind the <a href="http://gofossilfree.org/">Go Fossil Free</a> campaign.</p> <p>The California Academy of Sciences, the Canadian Medical Association and even the Australian city of Newcastle, home to the world's largest coal port, have all committed to divest their holdings in fossil-fuel companies.</p> <p><strong>>> Read: <a href="http://www.euractiv.com/sections/energy/investors-demand-energy-giants-quit-anti-climate-eu-lobby-groups-317249">Investors demand energy giants quit 'anti-climate' EU lobby groups</a> </strong></p> <p>These commitments may be growing, but they are still only at symbolic levels, the French Catholic Committee against Hunger and for Development (CCFD) warned on Monday 31 August. From 4 September, any organisation with shares in any of the companies on the Carbon Underground 200 list will be excluded from the French NGO's socially responsible <em>Ethique et Partage</em> mutual fund. Carbon Underground 200 is a list of the world's 100 biggest oil and gas companies and the 100 biggest coal companies.</p> <p>Geneviève Guenard, CCFD's administrative and financial director, recognised that "the fund is small and in reality the divestment only concerns one company". But the decision is a symbolic one for the organisation, which has already ended all investments linked to arms, pornography and tobacco.</p> <p><strong>Stalemate in France</strong></p> <p>French President François Hollande's promise to end export credits for coal-fired power stations, a commitment he made during the last environmental conference in November 2014, has still not been realised.</p> <p>"The French government is woefully inept at carrying out its decisions. The ministers Laurent Fabius and Ségolène Royal are supporters of the plan, but progress is blocked by the economy ministry. Emmanuel Macron seems more concerned with Alstom's balance sheet than the health of the planet," said Yannick Jadot, a French Green MEP.</p> <p>The burning of fossil fuels is responsible for 80% of global CO2 emissions and 67% of greenhouse gas emissions.</p> <p><strong>>> Read: <a href="http://www.euractiv.com/sections/climate-environment/cop-21-agreement-set-miss-co2-reduction-target-10-gigatons-317169">COP 21 agreement set to miss CO2 reduction target by 10 gigatons</a></strong></p> <p>While he remains optimistic about the future of the divestment campaign, Bill Mc Kibben accepts that there is "no guarantee that it will achieve its aims worldwide". Progress in certain sectors, like universities and ethical funds, can be seen as a positive sign for the divestment movement, but the global market capitalisation of coal, oil and gas companies is still over $5,000 billion.</p> <p><em>This article was previously published by <a href="http://www.euractiv.fr/sections/developpement-durable/le-sortie-des-energies-fossiles-progresse-lentement-317268">EurActiv France</a>.</em></p> <div class="post_source_linkbar"> <img class="post_source_logo" src="http://www.euractiv.com/profiles/tinar/themes/custom/eatinar_theme/logo.png"><img class="post_source_icon" title="EurActiv RSS : Full Feed" src="http://www.euractiv.com/profiles/tinar/themes/custom/eatinar_theme/favicon.ico">Source</div>'); HTML; echo strip_html_tags($content);
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Almost 400 institutions have signed up to the global fossil fuel divestment campaign since 2012, but an NGO report has warned that their commitments are not enough to make a real difference. Journal de l'Environnement reports. "Every week we see new withdrawals of investments in oil, coal and gas," Bill McKibben told a press conference in Paris on Tuesday (1 September). The American environmentalist is the co-founder of website 350.org, the organisation behind the Go Fossil Free campaign. The California Academy of Sciences, the Canadian Medical Association and even the Australian city of Newcastle, home to the world's largest coal port, have all committed to divest their holdings in fossil-fuel companies. >> Read: Investors demand energy giants quit 'anti-climate' EU lobby groups These commitments may be growing, but they are still only at symbolic levels, the French Catholic Committee against Hunger and for Development (CCFD) warned on Monday 31 August. From 4 September, any organisation with shares in any of the companies on the Carbon Underground 200 list will be excluded from the French NGO's socially responsible Ethique et Partage mutual fund. Carbon Underground 200 is a list of the world's 100 biggest oil and gas companies and the 100 biggest coal companies. Geneviève Guenard, CCFD's administrative and financial director, recognised that "the fund is small and in reality the divestment only concerns one company". But the decision is a symbolic one for the organisation, which has already ended all investments linked to arms, pornography and tobacco. Stalemate in France French President François Hollande's promise to end export credits for coal-fired power stations, a commitment he made during the last environmental conference in November 2014, has still not been realised. "The French government is woefully inept at carrying out its decisions. The ministers Laurent Fabius and Ségolène Royal are supporters of the plan, but progress is blocked by the economy ministry. Emmanuel Macron seems more concerned with Alstom's balance sheet than the health of the planet," said Yannick Jadot, a French Green MEP. The burning of fossil fuels is responsible for 80% of global CO2 emissions and 67% of greenhouse gas emissions. >> Read: COP 21 agreement set to miss CO2 reduction target by 10 gigatons While he remains optimistic about the future of the divestment campaign, Bill Mc Kibben accepts that there is "no guarantee that it will achieve its aims worldwide". Progress in certain sectors, like universities and ethical funds, can be seen as a positive sign for the divestment movement, but the global market capitalisation of coal, oil and gas companies is still over $5,000 billion. This article was previously published by EurActiv France. ');
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Almost 400 institutions have signed up to the global fossil fuel divestment campaign since 2012, but an NGO report has warned that their commitments are not enough to make a real difference. Journal de l'Environnement reports. "Every week we see new withdrawals of investments in oil, coal and gas," Bill McKibben told a press conference in Paris on Tuesday (1 September). The American environmentalist is the co-founder of website 350.org, the organisation behind the Go Fossil Free campaign. The California Academy of Sciences, the Canadian Medical Association and even the Australian city of Newcastle, home to the world's largest coal port, have all committed to divest their holdings in fossil-fuel companies. >> Read: Investors demand energy giants quit 'anti-climate' EU lobby groups These commitments may be growing, but they are still only at symbolic levels, the French Catholic Committee against Hunger and for Development (CCFD) warned on Monday 31 August. From 4 September, any organisation with shares in any of the companies on the Carbon Underground 200 list will be excluded from the French NGO's socially responsible Ethique et Partage mutual fund. Carbon Underground 200 is a list of the world's 100 biggest oil and gas companies and the 100 biggest coal companies. Geneviève Guenard, CCFD's administrative and financial director, recognised that "the fund is small and in reality the divestment only concerns one company". But the decision is a symbolic one for the organisation, which has already ended all investments linked to arms, pornography and tobacco. Stalemate in France French President François Hollande's promise to end export credits for coal-fired power stations, a commitment he made during the last environmental conference in November 2014, has still not been realised. "The French government is woefully inept at carrying out its decisions. The ministers Laurent Fabius and Ségolène Royal are supporters of the plan, but progress is blocked by the economy ministry. Emmanuel Macron seems more concerned with Alstom's balance sheet than the health of the planet," said Yannick Jadot, a French Green MEP. The burning of fossil fuels is responsible for 80% of global CO2 emissions and 67% of greenhouse gas emissions. >> Read: COP 21 agreement set to miss CO2 reduction target by 10 gigatons While he remains optimistic about the future of the divestment campaign, Bill Mc Kibben accepts that there is "no guarantee that it will achieve its aims worldwide". Progress in certain sectors, like universities and ethical funds, can be seen as a positive sign for the divestment movement, but the global market capitalisation of coal, oil and gas companies is still over $5,000 billion. This article was previously published by EurActiv France. ');

preferences:
267.55 ms | 409 KiB | 355 Q