( ! ) 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.0006361648{main}( ).../elements-html401.php:0
20.0006363936{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMElementsHTML401' ).../elements-html401.php:21
30.0014365744include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMElementsHTML401.php ).../autoloader.php:41
40.0014365744{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMElementsHTML401.php:9
50.0015366712include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0015366712{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0015367648include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0006363936{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMElementsHTML401' ).../elements-html401.php:21
30.0014365744include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMElementsHTML401.php ).../autoloader.php:41
40.0014365744{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMElementsHTML401.php:9
50.0015366712include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0015366712{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0015367648include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0006363936{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMElementsHTML401' ).../elements-html401.php:21
30.0014365744include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMElementsHTML401.php ).../autoloader.php:41
40.0014365744{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMElementsHTML401.php:9
50.0015366712include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0015366712{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0015367648include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0006363936{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMElementsHTML401' ).../elements-html401.php:21
30.0014365744include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMElementsHTML401.php ).../autoloader.php:41
40.0014365744{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMElementsHTML401.php:9
50.0015366712include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0015366712{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0015367648include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0019366120Mos\HTMLForm\CFMElementsHTML401->__construct( ).../elements-html401.php:21
30.0019367408Mos\HTMLForm\CForm->__construct( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CFMElementsHTML401.php:17
40.0019367408Mos\HTMLForm\CForm->create( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CForm.php:31
50.0019367784{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019368368include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0019366120Mos\HTMLForm\CFMElementsHTML401->__construct( ).../elements-html401.php:21
30.0019367408Mos\HTMLForm\CForm->__construct( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CFMElementsHTML401.php:17
40.0019367408Mos\HTMLForm\CForm->create( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CForm.php:31
50.0019367784{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019368368include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0019366120Mos\HTMLForm\CFMElementsHTML401->__construct( ).../elements-html401.php:21
30.0019367408Mos\HTMLForm\CForm->__construct( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CFMElementsHTML401.php:17
40.0019367408Mos\HTMLForm\CForm->create( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CForm.php:31
50.0019367784{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019368368include( '/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.0006361648{main}( ).../elements-html401.php:0
20.0019366120Mos\HTMLForm\CFMElementsHTML401->__construct( ).../elements-html401.php:21
30.0019367408Mos\HTMLForm\CForm->__construct( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CFMElementsHTML401.php:17
40.0019367408Mos\HTMLForm\CForm->create( $form = ['legend' => 'Legend'], $elements = ['text' => ['type' => 'text', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'password' => ['type' => 'password', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'hidden' => ['type' => 'hidden', 'value' => 'secret value'], 'file' => ['type' => 'file', 'description' => 'Here you can place a description.'], 'textarea' => ['type' => 'textarea', 'description' => 'Here you can place a description.', 'placeholder' => 'Here is a placeholder'], 'radio' => ['type' => 'radio', 'label' => 'What is your preferred choice of fruite?', 'description' => 'Here you can place a description.', 'values' => [...], 'checked' => 'potato'], 'checkbox' => ['type' => 'checkbox', 'description' => 'Here you can place a description.'], 'select' => ['type' => 'select', 'label' => 'Select your fruite:', 'description' => 'Here you can place a description.', 'options' => [...], 'value' => 'potato'], 'selectm' => ['type' => 'select-multiple', 'label' => 'Select one or more fruite:', 'description' => 'Here you can place a description.', 'size' => 6, 'options' => [...], 'checked' => [...]], 'reset' => ['type' => 'reset'], 'button' => ['type' => 'button'], 'submit' => ['type' => 'submit', 'value' => 'Submit', 'callback' => [...]]] ).../CForm.php:31
50.0019367784{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0019368368include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41
CForm Example: Form elements as of HTML 4.01

CForm Example: Form elements as of HTML 4.01


( ! ) 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.0006361648{main}( ).../elements-html401.php:0
20.0076375880Mos\HTMLForm\CForm->getHTML( $options = ??? ).../elements-html401.php:30
30.0076376720Mos\HTMLForm\CForm->getHTMLForElements( $options = ['start' => FALSE, 'columns' => 1, 'use_buttonbar' => TRUE, 'use_fieldset' => TRUE, 'legend' => 'Legend'] ).../CForm.php:242