3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = ['brandId' => [ 'type' => ApiResponseValidator::API_RESPONSE_FIELD_TYPE_INT, 'isOnlyPositive' => true, 'required' => true, ], 'globalIdentifier' => [ 'type' => ApiResponseValidator::API_RESPONSE_FIELD_TYPE_VARCHAR, 'maxLength' => 255, 'required' => false, ], 'status' => [ 'type' => ApiResponseValidator::API_RESPONSE_FIELD_TYPE_ENUM, 'options' => [ ApiResponseValidator::API_RESPONSE_BRANDS_STATUS_ACTIVE, ApiResponseValidator::API_RESPONSE_BRANDS_STATUS_INACTIVE, ApiResponseValidator::API_RESPONSE_BRANDS_STATUS_DELETED, ], 'required' => true, ], 'name' => [ 'type' => ApiResponseValidator::API_RESPONSE_FIELD_TYPE_VARCHAR, 'maxLength' => 255, 'required' => true, ], 'name_en' => [ 'type' => ApiResponseValidator::API_RESPONSE_FIELD_TYPE_VARCHAR, 'maxLength' => 255, 'required' => false, ]];
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "ApiResponseValidator" not found in /in/jrQdY:4 Stack trace: #0 {main} thrown in /in/jrQdY on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.87 ms | 401 KiB | 8 Q