( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 38
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0016368384{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CForm' ).../test-select-option.php:50
30.0043369528require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 40
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0016368384{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CForm' ).../test-select-option.php:50
30.0043369528require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 37
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0016368384{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CForm' ).../test-select-option.php:50
30.0043369528require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 39
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0016368384{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CForm' ).../test-select-option.php:50
30.0043369528require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php on line 65
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0046369416Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../test-select-option.php:50
30.0046369416Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../CForm.php:29
40.0046369416{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:57
50.0065370224require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php on line 84
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0046369416Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../test-select-option.php:50
30.0046369416Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../CForm.php:29
40.0046369416{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:57
50.0065370224require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php on line 51
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0046369416Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../test-select-option.php:50
30.0046369416Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../CForm.php:29
40.0046369416{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:57
50.0065370224require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:40

( ! ) 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/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php on line 75
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0046369416Mos\HTMLForm\CForm->__construct( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../test-select-option.php:50
30.0046369416Mos\HTMLForm\CForm->create( $form = [], $elements = ['expmonth' => ['type' => 'select', 'label' => 'Expiration month:', 'options' => [...]], 'doPay' => ['type' => 'submit', 'value' => 'Perform payment', 'callback' => class Closure { ... }]] ).../CForm.php:29
40.0046369416{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/autoloader.php:14-42}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:57
50.0065370224require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:40
CForm Example: Creditcard checkout with two column layout

CForm Example: Useage of select option list


( ! ) Warning: Undefined variable $columns in /home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/webroot/test/test-select-option.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0

( ! ) Fatal error: Uncaught Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 221
( ! ) Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cform/src/HTMLForm/CForm.php on line 221
Call Stack
#TimeMemoryFunctionLocation
10.0007364800{main}( ).../test-select-option.php:0
20.0083371304Mos\HTMLForm\CForm->getHTML( $options = ['columns' => NULL] ).../test-select-option.php:74
30.0083372056Mos\HTMLForm\CForm->getHTMLForElements( $options = ['start' => FALSE, 'columns' => NULL, 'use_buttonbar' => TRUE, 'use_fieldset' => TRUE, 'legend' => NULL] ).../CForm.php:186