php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64978 Exit (exit()) function fail on PHP interactive mode
Submitted: 2013-06-06 04:49 UTC Modified: 2013-12-05 17:01 UTC
From: heru dot htl at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.4.15 OS: Meego Linux V.1.2
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: heru dot htl at gmail dot com
New email:
PHP Version: OS:

 

 [2013-06-06 04:49 UTC] heru dot htl at gmail dot com
Description:
------------
I have compiled the PHP 5.4.15 on Meego Linux V.1.2 & Ubuntu 12.04 LTS with the following ./configure options:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/usr/etc \
--sharedstatedir=/usr/com \
--localstatedir=/var \
--libdir=/usr/lib \
--includedir=/usr/include \
--oldincludedir=/usr/include \
--datarootdir=/usr/share \
--datadir=/usr/share \
--infodir=/usr/share/info \
--localedir=/usr/share/locale \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/php5 \
--htmldir=/usr/share/doc/php5 \
--dvidir=/usr/share/doc/php5 \
--pdfdir=/usr/share/doc/php5 \
--psdir=/usr/share/doc/php5 \
--disable-cgi \
--with-pear=/usr/lib/php5 \
--enable-zip \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--enable-sigchild \
--with-readline=/usr/lib \

When then I test in interactive mode (php -a), but I get that function exit(); doesn't work properly. The interactive mode keep on terminal even after I called exit();


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-06 04:53 UTC] heru dot htl at gmail dot com
-Summary: Exit (exit()) function seems fail in interactive mode +Summary: Exit (exit()) function fail on PHP interactive mode -Operating System: Meego GNU/LINUX V.1.2 +Operating System: Meego Linux V.1.2
 [2013-06-06 04:53 UTC] heru dot htl at gmail dot com
The bug also happen with PHP 5.4.7.
 [2013-12-05 17:01 UTC] mike@php.net
-Status: Open +Status: Not a bug
 [2013-12-05 17:01 UTC] mike@php.net
Always wanted to say that:

This is a feature not a bug.
You also stay in interactive mode on fatal errors.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 04:01:34 2025 UTC