Try this code and see how `stripslashes` may cause problem:

```php
$s = "'";
$s2 = var_export($s);
echo $s2 . "\n";
echo stripslashes($s2) . "\n";
```