Bug #16582 Updated: unserialize_callback_func isnt changeable
ID: 16582 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: PHP options/info functions +Bug Type: Documentation problem Operating System: red hat linux PHP Version: 4.1.2 New Comment: Changing to documentation problem: this feature will be available the first time in 4.2 but the page (unserialze) doesn't mention this. Ian: you should have checked the return value of ini_set(), it reports false Bernd: you should have known better where your feature is available and where not Previous Comments: [2002-04-14 18:58:20] [EMAIL PROTECTED] but 4.2 is only in test.and 4.1.2 is the last. how can you have done many projects with it if it hasnt been implemented in any release? [2002-04-14 18:40:40] [EMAIL PROTECTED] First of all, try with PHP 4.2.0RC4 from http://www.php.net/~derick/ and if you can reproduce this problem with it, add a _complete_ but short example script into this bug report. [2002-04-13 05:27:04] [EMAIL PROTECTED] I cannot find any unserialize_callback_func-implementation in the source of your version :( I'm sorry.. but i have no idea why :(( The feature is not that bad, and works fine for me in many projects... [2002-04-13 03:03:33] [EMAIL PROTECTED] am unable to set unserialize_callback_func using ini_set. I can see it in my php.ini, but when i use the following script (adapted from code given on the unserialize() function page): ini_set('unserialize_callback_func','thecallback'); function thecallback($classname) { echo "calling back"; $filename="includez/".$classname.".cls.php"; include($filename); } after unserializing I would have expected to see the echo statement, but it just wont seem to work at all. -- Edit this bug report at http://bugs.php.net/?id=16582&edit=1
Bug #16582 Updated: unserialize_callback_func isnt changeable
ID: 16582 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: red hat linux PHP Version: 4.1.2 New Comment: but 4.2 is only in test.and 4.1.2 is the last. how can you have done many projects with it if it hasnt been implemented in any release? Previous Comments: [2002-04-14 18:40:40] [EMAIL PROTECTED] First of all, try with PHP 4.2.0RC4 from http://www.php.net/~derick/ and if you can reproduce this problem with it, add a _complete_ but short example script into this bug report. [2002-04-13 05:27:04] [EMAIL PROTECTED] I cannot find any unserialize_callback_func-implementation in the source of your version :( I'm sorry.. but i have no idea why :(( The feature is not that bad, and works fine for me in many projects... [2002-04-13 03:03:33] [EMAIL PROTECTED] am unable to set unserialize_callback_func using ini_set. I can see it in my php.ini, but when i use the following script (adapted from code given on the unserialize() function page): ini_set('unserialize_callback_func','thecallback'); function thecallback($classname) { echo "calling back"; $filename="includez/".$classname.".cls.php"; include($filename); } after unserializing I would have expected to see the echo statement, but it just wont seem to work at all. -- Edit this bug report at http://bugs.php.net/?id=16582&edit=1
Bug #16582 Updated: unserialize_callback_func isnt changeable
ID: 16582 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: red hat linux PHP Version: 4.1.2 New Comment: First of all, try with PHP 4.2.0RC4 from http://www.php.net/~derick/ and if you can reproduce this problem with it, add a _complete_ but short example script into this bug report. Previous Comments: [2002-04-13 05:27:04] [EMAIL PROTECTED] I cannot find any unserialize_callback_func-implementation in the source of your version :( I'm sorry.. but i have no idea why :(( The feature is not that bad, and works fine for me in many projects... [2002-04-13 03:03:33] [EMAIL PROTECTED] am unable to set unserialize_callback_func using ini_set. I can see it in my php.ini, but when i use the following script (adapted from code given on the unserialize() function page): ini_set('unserialize_callback_func','thecallback'); function thecallback($classname) { echo "calling back"; $filename="includez/".$classname.".cls.php"; include($filename); } after unserializing I would have expected to see the echo statement, but it just wont seem to work at all. -- Edit this bug report at http://bugs.php.net/?id=16582&edit=1
Bug #16582 Updated: unserialize_callback_func isnt changeable
ID: 16582 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: PHP options/info functions Operating System: red hat linux PHP Version: 4.1.2 New Comment: I cannot find any unserialize_callback_func-implementation in the source of your version :( I'm sorry.. but i have no idea why :(( The feature is not that bad, and works fine for me in many projects... Previous Comments: [2002-04-13 03:03:33] [EMAIL PROTECTED] am unable to set unserialize_callback_func using ini_set. I can see it in my php.ini, but when i use the following script (adapted from code given on the unserialize() function page): ini_set('unserialize_callback_func','thecallback'); function thecallback($classname) { echo "calling back"; $filename="includez/".$classname.".cls.php"; include($filename); } after unserializing I would have expected to see the echo statement, but it just wont seem to work at all. -- Edit this bug report at http://bugs.php.net/?id=16582&edit=1