Seldaek / php-console

PHP Debug Console
Other
529 stars 91 forks source link

error while posting code #23

Open staabm opened 11 years ago

staabm commented 11 years ago

I used the following input

<?php

$it = new APCIterator('user', 'll/[^/]{1,}');

and this results into a Error occured while posting your code. error.

other input works as expected.. not sure whats going on, but it seems like the code doesn't get posted at all (therefore a client side issue).

Tested on FF24 and Chrome 28

staabm commented 11 years ago

strange... after adding regex delimiters it works

<?php

$it = new APCIterator('user', '@ll/[^/]{1,}@');

php wrote it into it logs, but I expected to see such a error also inside the php-console...

Seldaek commented 11 years ago

I get an error alright if I do this. My guess is you're missing the proper display_errors settings or something?