'O:1:"F":2:{s:6:"' . "\0" . 'F' . "\0" . 'bar";s:10:"so is this";s:6:"' . "\0" . 'F' . "\0" . 'foo";s:26:"this is a private variable";}'
this is a private variable
so is this
Warning: serialize(): "bar" returned as member variable from __sleep() but does not exist in /in/d6WN9 on line 32
Warning: serialize(): "foo" returned as member variable from __sleep() but does not exist in /in/d6WN9 on line 32
'O:1:"G":0:{}'
Fatal error: Uncaught Error: Typed property F::$foo must not be accessed before initialization in /in/d6WN9:13
Stack trace:
#0 /in/d6WN9(37): F->getFoo()
#1 {main}
thrown in /in/d6WN9 on line 13
Process exited with code 255.
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.