( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 48
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0007363904{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMSelectOption' ).../select-option.php:21
30.0014365688include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMSelectOption.php ).../autoloader.php:41
40.0014365688{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMSelectOption.php:9
50.0014366656include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0014366656{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0014367592include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 58
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0007363904{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMSelectOption' ).../select-option.php:21
30.0014365688include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMSelectOption.php ).../autoloader.php:41
40.0014365688{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMSelectOption.php:9
50.0014366656include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0014366656{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0014367592include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 39
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0007363904{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMSelectOption' ).../select-option.php:21
30.0014365688include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMSelectOption.php ).../autoloader.php:41
40.0014365688{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMSelectOption.php:9
50.0014366656include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0014366656{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0014367592include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 53
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0007363904{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMSelectOption' ).../select-option.php:21
30.0014365688include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMSelectOption.php ).../autoloader.php:41
40.0014365688{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMSelectOption.php:9
50.0014366656include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0014366656{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0014367592include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 63
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0019366072Mos\HTMLForm\CFMSelectOption->__construct( ).../select-option.php:21
30.0019367040Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CFMSelectOption.php:17
40.0019367040Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CForm.php:31
50.0019367040{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019367624include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 83
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0019366072Mos\HTMLForm\CFMSelectOption->__construct( ).../select-option.php:21
30.0019367040Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CFMSelectOption.php:17
40.0019367040Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CForm.php:31
50.0019367040{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019367624include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 49
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0019366072Mos\HTMLForm\CFMSelectOption->__construct( ).../select-option.php:21
30.0019367040Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CFMSelectOption.php:17
40.0019367040Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CForm.php:31
50.0019367040{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019367624include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 73
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0019366072Mos\HTMLForm\CFMSelectOption->__construct( ).../select-option.php:21
30.0019367040Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CFMSelectOption.php:17
40.0019367040Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => [...]]] ).../CForm.php:31
50.0019367040{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019367624include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41
CForm Example: Select option list

CForm Example: Select option list


( ! ) Fatal error: Uncaught Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 278
( ! ) Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 278
Call Stack
#TimeMemoryFunctionLocation
10.0006361616{main}( ).../select-option.php:0
20.0030368280Mos\HTMLForm\CForm->getHTML( $options = ??? ).../select-option.php:30
30.0031369072Mos\HTMLForm\CForm->getHTMLForElements( $options = ['start' => FALSE, 'columns' => 1, 'use_buttonbar' => TRUE, 'use_fieldset' => TRUE, 'legend' => NULL] ).../CForm.php:242