Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have set disable-completion on in my ~/.inputrc, however this doesn't affect php in interactive mode (php -a).

I would like to copy some code from another editor to the php interactive shell which uses tab characters as indention.

share|improve this question
add comment

1 Answer

I searched PHP source for this 2 years ago. Could not find a simple way to do this. Assume it is impossible.

You should convert the tabbed code to spaces and then copy.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.