php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77538 Including empty file results in stopping of script
Submitted: 2019-01-29 09:23 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bugs dot php dot net at sjappa dot nl Assigned:
Status: Open Package: *General Issues
PHP Version: 7.2.14 OS: Ubuntu 16.04.5 LTS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugs dot php dot net at sjappa dot nl
New email:
PHP Version: OS:

 

 [2019-01-29 09:23 UTC] bugs dot php dot net at sjappa dot nl
Description:
------------
When I include a file, with only the php's start-tag, nothing more, just '<?php', my script stops...

Test script:
---------------
File A:

<?php

print "Foo";
include "file B.php";
print "Bar";

File B:

<?php


Expected result:
----------------
When I include the empty file B in my file A, with a print before and after, I would expect the output to look like:

'FooBar'

Actual result:
--------------
Instead, the empty php-file won't be handled as php-file, but it will stop my script (file A) from executing, outputting only:

'Foo'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-06-17 08:43 UTC] son at wsaon dot com
(https://m.ok.ru/dk?st.cmd=outLinkWarning&st.rfn=https%3A%2F%2Fwiscon-tech.com%2F)github.com
(https://m.ok.ru/dk?st.cmd=outLinkWarning&st.rfn=http%3A%2F%2Fwww.wiscon-tech.com%2F)github.com
(https://m.ok.ru/dk?st.cmd=outLinkWarning&st.rfn=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(https://m.ok.ru/dk?st.cmd=outLinkWarning&st.rfn=https%3A%2F%2Fwww.wiscon-tech.com%2F)github.com
(https://m.ok.ru/dk?st.cmd=outLinkWarning&st.rfn=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(https://syosetu.com/?jumplink=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.odmp.org/link?url=http%3A%2F%2Fwiscon-tech.com)github.com
(https://sc.hkexnews.hk/TuniS/wiscon-tech.com)github.com
(https://eric.ed.gov/?redir=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.fca.gov/?URL=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.fca.gov/?URL=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.usich.gov/?URL=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.disl.edu/?URL=http%3A%2F%2Fwiscon-tech.com)github.com
(https://bios.edu/?URL=http%3A%2F%2Fwiscon-tech.com)github.com
(https://firsttee.force.com/TFT_login?website=wiscon-tech.com)github.com
(https://escardio--community.force.com/ESCRegister?ReturnUrl=https%3A%2F%2Fwiscon-tech.com)github.com
(https://blogs.rtve.es/libs/getfirma_footer_prod.php?blogurl=https%3A%2F%2Fwiscon-tech.com)github.com
(https://r.orange.fr/r?ref=ael_N2_faq&url=http%3A%2F%2Fwiscon-tech.com)github.com
(https://www.adminer.org/redirect/?lang=en&url=http%3A%2F%2Fwiscon-tech.com%2F)github.com
(https://www.adminer.org/redirect/?lang=en&url=https%3A%2F%2Fwiscon-tech.com%2F)github.com
(https://jump.5ch.net/?wiscon-tech.com)github.com
(https://medium.com/r/?url=https%3A%2F%2Fwiscon-tech.com)github.com
(https://sc.youth.gov.hk/TuniS/wiscon-tech.com)github.com
(https://www.wrasb.gov.tw/opennews/opennews01_detail.aspx?nno=2014062701&return=https%3A%2F%2Fwiscon-tech.com)github.com
(https://tvtropes.org/pmwiki/no_outbounds.php?o=https%3A%2F%2Fwiscon-tech.com)github.com
(https://tools.folha.com.br/print?url=https%3A%2F%2Fwiscon-tech.com)github.com
(https://www.liveinternet.ru/journal_proc.php?action=redirect&url=https%3A%2F%2Fwiscon-tech.com)github.com

(https://www.meetme.com/apps/redirect/?url=https%3A%2F%2Fwiscon-tech.com)github.com

(https://bukkit.org/proxy.php?link=https%3A%2F%2Fwiscon-tech.com)github.com
(http://jbbs.m.shitaraba.net/b/link.cgi?l=https%3A%2F%2Fwiscon-tech.com)github.com
(https://fotka.com/link.php?u=https%3A%2F%2Fwiscon-tech.com)github.com
(http://www.webclap.com/php/jump.php?url=https%3A%2F%2Fwiscon-tech.com)github.com
(http://www.bookmerken.de/?url=https%3A%2F%2Fwiscon-tech.com)github.com
(http://pichak.net/verification/index.php?n=39&url=https%3A%2F%2Fwiscon-tech.com)github.com

(http://gameexpression.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://aspenaerogel.at/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://edi-software.biz/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://2-rabbits.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://4finegolf.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://africafe.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com

(http://golfmatch.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://greekvirginoliveoil.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://hackedgear.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://can-eng.de/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://alloysurfcaesinc.info/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://davidhparker.info/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://allianceoneinternational.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://bazardelmercado.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://dataproducts-printers.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com

(http://digitalpowerlines.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://craneco.us/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://centerpointenergyms.biz/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://15unionsq.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://800-lawfact.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://airportnav.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://allanwatson.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://backgroundsingapore.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://bus-tours.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://cheftom.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://dairyprotect.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://danberube.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://danielmayo.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://danspine.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://daretobeseen.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://dentaldiagnosticservices.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://dentalteam.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://discovergreatmusic.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://ehcg.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://esecurity.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://forestglenwinery.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://formdoc.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://georgesfinejewelers.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://greatamericangolf.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://b8s.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://hospitalitytechnology.net/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://fin-scan.co.uk/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://bluecorduroys.biz/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
(http://danielmoser.com/__media__/js/netsoltrademark.php?d=wiscon-tech.com)github.com
 [2023-06-17 08:45 UTC] sa at wss dot com
(http://www.techno-press.org/sqlYG5/url.php?url=http%3A%2F%2Fwiscon-tech.com)github.com
(http://www.vreddiehgdl.cucsh.udg.mx/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http%3A%2F%2Fwiscon-tech.com&nid=126)github.com
(http://www.vreddiehgdl.cucsh.udg.mx/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http%3A%2F%2Fwiscon-tech.com&nid=126)github.com
(http://api.buu.ac.th/getip/?url=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(http://caminhoesecarretas.com.br/redirect.aspx?id=1083&url=http%3A%2F%2Fwiscon-tech.com%2Fholostyak-stb-2021)github.com

(http://my.volusion.com/TransferLogin.aspx?HostName=www.wiscon-tech.com&PageName=login.asp)github.com
(http://paper.li/SharonLaMothe/1411841847?read=https%3A%2F%2Fwiscon-tech.com)github.com
(http://redir.speedbit.com/redir.asp?id=8030&urldirect=https%3A%2F%2Fwiscon-tech.com)github.com
(http://thediplomat.com/ads/books/ad.php?i=4&r=https%3A%2F%2Fwiscon-tech.com)github.com
(http://www.odmp.org/link?url=http%3A%2F%2Fwiscon-tech.com%2F)github.com
(http://mwebp12.plala.or.jp/p/do/redirect?url=http%3A%2F%2Fwiscon-tech.com%2F34zxVq8)github.com
(http://tapestry.tapad.com/tapestry/1?ta_partner_id=950&ta_redirect=https%3A%2F%2Fwiscon-tech.com%2F)github.com
(http://richr.wellymulia.zaxaa.com/b/6306379?redir=https%3A%2F%2Fwiscon-tech.com%2F&s=1)github.com
(http://anon.to/?https%3A%2F%2Fwiscon-tech.com)github.com
(http://pram.elmercurio.com/Logout.aspx?ApplicationName=EMOL&SSOTargetUrl=https%3A%2F%2Fwiscon-tech.com%2F&l=yes)github.com
(http://login.ermis.gov.gr/pls/orasso/orasso.wwctx_app_language.set_language?p_http_language=fr-fr&p_nls_language=f&p_nls_territory=france&p_requested_url=http%3A%2F%2Fwiscon-tech.com%2F)github.com
(http://adapi.now.com/ad/api/act.ashx?a=2&c=0&l=1&s=30000219&sc=3490&t=0&u=https%3A%2F%2Fwiscon-tech.com)github.com

(http://www.peelregion.ca/scripts/peelregion.pl?group=Holidays&title=Mississauga%2BTransit&url=https%3A%2F%2Fwiscon-tech.com)github.com
(http://ads.focus-news.net/click.php?id=707&url=http%3A%2F%2Fwiscon-tech.com)github.com
(http://enseignants.flammarion.com/Banners_Click.cfm?ID=86&URL=wiscon-tech.com)github.com
(http://home.uceusa.com/Redirect.aspx?r=http%3A%2F%2Fwiscon-tech.com%2F34zxVq8)github.com
(http://www3.valueline.com/vlac/logon.aspx?lp=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(http://crewroom.alpa.org/SAFETY/LinkClick.aspx?link=https%3A%2F%2Fwiscon-tech.com&mid=12872)github.com
(http://topas.dur.ac.uk/unb/forum.php?req=derefer&url=http%3A%2F%2Fwiscon-tech.com%2F34zxVq8)github.com
(http://glowing.com/external/link?next_url=https%3A%2F%2Fwiscon-tech.com)github.com
(http://reklama.karelia.pro/url.php?area_id=143&banner_id=1864&url=https%3A%2F%2Fwiscon-tech.com)github.com

(http://cat.sustech.edu/cgi-bin/koha/tracklinks.pl?uri=%2F%2Fwiscon-tech.com)github.com
(http://library.sust.edu/cgi-bin/koha/tracklinks.pl?uri=%2F%2Fwiscon-tech.com)github.com
(http://autos.car1.hk/external.php?url=https%3A%2F%2Fwiscon-tech.com)github.com
(http://news.u-car.com.tw/share/platform?url=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(http://inginformatica.uniroma2.it/?URL=wiscon-tech.com)github.com
(http://muse.univ-lyon1.fr/spip.php?action=cookie&url=https%3A%2F%2Fwww.wiscon-tech.com&var_lang=de)github.com
(http://www.videoder.com/af/media?mode=2&url=http%3A%2F%2Fwiscon-tech.com)github.com


(https://digitalcollections.clemson.edu/single-item-view/?b=https%3A%2F%2Fwww.wiscon-tech.com%2Findustrial-shredder&oid=cuir%3A5496365c70bfe4b0a5363bd9120e3932)github.com
(https://school.wakehealth.edu/faculty/a/anthony-atala?back=https%3A%2F%2Fwww.wiscon-tech.com%2Findustrial-shredder)github.com
(https://school.wakehealth.edu/faculty/a/anthony-atala?back=https%3A%2F%2Fwww.wiscon-tech.com%2FRDF-shredder)github.com
(https://legal.un.org/docs/doc_top.asp?Lang=Ef&path=..%2Filc%2Fdocumentation%2Fenglish%2Fa_cn4_13.pd&referer=https%3A%2F%2Fwww.wiscon-tech.com)github.com

(https://accounts.cancer.org/login?redirectURL=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(https://guru.sanook.com/?URL=https%3A%2F%2Fwww.wiscon-tech.com)github.com
(https://decisoes.fazenda.gov.br/netacgi/nph-brs?d=DECW&f=S&l=20&n=-DTPE&p=10&r=3&s1=COANA&u=http%3A%2F%2Fwww.wiscon-tech.com%2F)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC