Error messages

This is the list of error messages, as found in die() and exit() expressions.

MessageFileLine
sprintf('line 0, col %d: Error: '$tokenPos)
/lib/Assertion/ExpressionParser.php193
'`dataset` input should have multiple elements.'
/lib/Math/Kde.php118
sprintf('Parameter values must be scalar. Got "%s"'is_object($parameter) ? get_class($parameter) : gettype($parameter))
/lib/Benchmark/Remote/Reflector.php97
'Cannot get top reflection class, reflection hierarchy is empty.'
/lib/Benchmark/Remote/ReflectionHierarchy.php51
sprintf('Could not find PHP binary "%s"'$this->phpBinary)
/lib/Benchmark/Remote/Launcher.php136
sprintf('Bootstrap file "%s" does not exist.'$this->bootstrap)
/lib/Benchmark/Remote/Launcher.php89
sprintf('Script "%s" did not return an array, got: %s'$this->template$output)
/lib/Benchmark/Remote/Payload.php266
sprintf('Could not create directory "%s"'$directory)
/lib/Benchmark/Remote/Payload.php215
'Could not generate temporary script name'
/lib/Benchmark/Remote/Payload.php202
sprintf('Could not find script template "%s"'$this->template)
/lib/Benchmark/Remote/Payload.php185
sprintf('%s%s'$process->getErrorOutput( ), $process->getOutput( ))
/lib/Benchmark/Remote/Payload.php148
sprintf('@AfterClassMethods annotation can only be applied at the class level (%s)'$subject->getBenchmark( )->getClass( ) . '::' $subject->getName( ))
/lib/Benchmark/Metadata/Driver/AnnotationDriver.php120
sprintf('@BeforeClassMethods annotation can only be applied at the class level (%s)'$subject->getBenchmark( )->getClass( ) . '::' $subject->getName( ))
/lib/Benchmark/Metadata/Driver/AnnotationDriver.php113
sprintf('%s method "%s" must %s static in benchmark class "%s"'$context$method$isStatic 'be' 'not be'$benchmarkReflection->getTop( )->class)
/lib/Benchmark/Metadata/MetadataFactory.php118
sprintf('Unknown %s method "%s" in benchmark class "%s"'$context$method$benchmarkReflection->getTop( )->class)
/lib/Benchmark/Metadata/MetadataFactory.php111
sprintf('Each parameter set must be an array, got "%s" for %s::%s'gettype($parameterSet), $metadata->getClass( ), $subject->getName( ))
/lib/Benchmark/Metadata/MetadataFactory.php76
sprintf('Unrecognized annotation %s, valid PHPBench annotations: @%s'$matches[1], implode(', @'array_keys(self::$phpBenchImports)))
/lib/Benchmark/Metadata/AnnotationReader.php218
sprintf('Invalid options "%s" for format "%s", valid options: "%s"'implode('", "'$diff), $formatNameimplode('", "'array_keys($defaultOptions)))
/lib/Formatter/Formatter.php111
sprintf('Could not load class definition: %s'json_encode($classDefinition))
/lib/Formatter/Formatter.php125
sprintf('Value is not a scalar, is a "%s"'is_object($value) ? get_class($value) : gettype($value))
/lib/Formatter/Formatter.php81
sprintf('Unknown class "%s", known classNames: "%s"'$classimplode('", "'array_keys($this->classes)))
/lib/Formatter/Formatter.php89
sprintf('Unknown format "%s", known formats: "%s"'$nameimplode(', 'array_keys($this->formats)))
/lib/Formatter/FormatRegistry.php47
sprintf('Class file "%s" does not exist.'$filename)
/lib/Formatter/ClassLoader.php37
'No subject has been executed'
/lib/Executor/Benchmark/TestExecutor.php84
sprintf('Formatter with name "%s" is already registered'$name)
/lib/Formatter/FormatRegistry.php29
'Distribution is read-only'
/lib/Math/Distribution.php188
sprintf('Benchmark made some noise: %s'$result['buffer'])
/lib/Executor/Benchmark/TemplateExecutor.php59
sprintf('Unknown stat "%s", known stats: "%s"'$nameimplode('", "'array_keys($this->closures)))
/lib/Math/Distribution.php148
'Distribution is read-only'
/lib/Math/Distribution.php180
'Cannot create a distribution with zero samples.'
/lib/Math/Distribution.php35
sprintf('Unknown pre-computed stat(s) encountered: "%s"'implode('", "'$diff))
/lib/Math/Distribution.php70
sprintf('Unknown bandwidth method "%s"'$bwMethod)
/lib/Math/Kde.php217
sprintf('Min and max cannot be the same number: %s'$max)
/lib/Math/Statistics.php136
sprintf('Result of class "%s" has not been set'$class)
/lib/Model/ResultCollection.php63
sprintf('Tag mast be non-empty string of alphanumeric characters and _, got "%s"'$tag)
/lib/Model/Tag.php27
sprintf('Could not locate GUI bin "%s"'$input->getOption('gui-bin'))
/extensions/xdebug/lib/Command/ProfileCommand.php67
sprintf('Unknown metric "%s" for result class "%s". Available metrics: "%s"'$metric$classimplode('", "'array_keys($metrics)))
/lib/Model/ResultCollection.php84
'No statistics have yet been computed for this iteration set (::computeStats should be called)'
/lib/Model/Variant.php294
sprintf('Cannot retrieve stats when an exception was encountered ([%s] %s)'$this->errorStack->getTop( )->getClass( ), $this->errorStack->getTop( )->getMessage( ))
/lib/Model/Variant.php285
'Iteration collections are immutable'
/lib/Model/Variant.php430
'Iteration collections are immutable'
/lib/Model/Variant.php420
sprintf('The XsltRenderer requires the `%s` extension to be loaded'$ext)
/lib/Report/Renderer/XsltRenderer.php42
sprintf('Column "%s" does not exist in row with columns "%s"'$columnNameimplode('", "'array_keys($this->cells)))
/lib/Report/Generator/Table/Row.php168
sprintf('Could not render report with XSL file "%s"'$template)
/lib/Report/Renderer/XsltRenderer.php114
sprintf('XSLT template file "%s" does not exist'$template)
/lib/Report/Renderer/XsltRenderer.php76
sprintf('Non-numeric value encountered: "%s"'print_r($subjecttrue))
/lib/Formatter/Format/NumberFormat.php30
sprintf('Truncation position must be one of "%s", got "%s"'implode('", "', ['left''right']), $options['position'])
/lib/Formatter/Format/TruncateFormat.php45
sprintf('The "%s" column must be visible when using the diff column'$stat)
/lib/Report/Generator/TableGenerator.php136
sprintf('Expected a string, got "%s"'gettype($jsonString))
/lib/Json/JsonDecoder.php59
1/bin/phpbench.php23
255/lib/PhpBench.php254
1/lib/PhpBench.php101
1/lib/PhpBench.php163
'No history present, therefore cannot retrieve latest UUID'
/lib/Storage/UuidResolver/LatestResolver.php58
sprintf('Could not resolve UUID "%s"'$uuid)
/lib/Storage/UuidResolver/LatestResolver.php45
sprintf('No progress logger with name "%s" has been registered, known progress loggers: "%s"'$nameimplode('", "'array_keys($this->progressLoggers)))
/lib/Progress/LoggerRegistry.php27
sprintf('Cannot find run with UUID "%s"'$runId)
/lib/Storage/Driver/Xml/XmlDriver.php66
sprintf('Configuration names may only contain alpha-numeric characters, _ and -. Got "%s"'$name)
/lib/Registry/Config.php35
sprintf('%s configuration must EITHER indicate its target %s service with the "%s" key or extend an existing configuration with the "extends" key.'$this->serviceType$this->serviceType$this->serviceType)
/lib/Registry/ConfigurableRegistry.php128
sprintf('Could not find tag "%s"'$tag)
/lib/Storage/UuidResolver/TagResolver.php63
sprintf('Configuration offset "%s" does not exist. Known offsets: "%s"'$offsetimplode('", "'array_keys($this->getArrayCopy( ))))
/lib/Registry/Config.php47
sprintf('No %s configuration named "%s" exists. Known configurations: "%s"'$this->serviceType$nameimplode('", "'array_keys($this->configs)))
/lib/Registry/ConfigurableRegistry.php64
sprintf('%s service "%s" does not exist. Registered %s services: "%s"'$this->serviceType$name$this->serviceTypeimplode('", "'array_keys($this->services)))
/lib/Registry/Registry.php113
sprintf('%s configuration for service "%s" cannot extend configuration for different service "%s"'$this->serviceType$config[$this->serviceType], $extended[$this->serviceType])
/lib/Registry/ConfigurableRegistry.php112
sprintf('%s config "%s" already exists.'$this->serviceType$name)
/lib/Registry/ConfigurableRegistry.php89
sprintf('%s service "%s" is already registered'$this->serviceType$name)
/lib/Registry/Registry.php53
sprintf('Could not decode parameters JSON string: "%s"'$parametersJson)
/lib/Console/Command/Handler/RunnerHandler.php148
sprintf('You must configure a default %s service, registered %s services: "%s"'$this->serviceType$this->serviceTypeimplode('", "'array_keys($this->services)))
/lib/Registry/Registry.php93
sprintf('%s service "%s" already exists.'$this->serviceType$name)
/lib/Registry/Registry.php70
sprintf('File or directory "%s" does not exist (cwd: %s)'$pathgetcwd( ))
/lib/Benchmark/BenchmarkFinder.php49
sprintf('Baseline callable "%s" has already been registered.'$name)
/lib/Benchmark/BaselineManager.php46
sprintf('Given baseline "%s" callable "%s" is not callable.'$nameis_string($callable) ? $callable gettype($callable))
/lib/Benchmark/BaselineManager.php53
sprintf('Unknown baseline callable "%s", known baseline callables: "%s"'$nameimplode('", "'array_keys($this->callables)))
/lib/Benchmark/BaselineManager.php69
sprintf('Encountered error when determining git branch exide code: %s, stderr: "%s"'$process->getExitCode( ), $process->getErrorOutput( ))
/lib/Environment/Provider/Git.php66
sprintf('All values for "%s" must be greater than 0, the following were less than 0 "%s"'$fieldimplode('", "'$values))
/lib/Benchmark/RunnerConfig.php395
sprintf('"%s" must be greater than 0, got "%s"'$field$value)
/lib/Benchmark/RunnerConfig.php411
sprintf('Retry limit of %s exceeded'$subjectMetadata->getRetryLimit( ))
/lib/Benchmark/Runner.php309
sprintf('Array does not have key "%s", it has keys: "%s"'$segmentimplode('", "'array_keys($container)))
/lib/Assertion/Ast/PropertyAccess.php64
sprintf('Could not access "%s" on "%s"'$segmentis_object($container) ? get_class($container) : gettype($container))
/lib/Assertion/Ast/PropertyAccess.php79
sprintf('Environmental information is immutable. Tried to set key "%s" with value "%s"'$offset$value)
/lib/Environment/Information.php58
sprintf('Environmental information is immutable. Tried to unset key "%s"'$offset)
/lib/Environment/Information.php77
sprintf('Assertion node "%s" did not evaluate to an AssertionResult, evaluated to "%s"'get_class($node), is_object($result) ? get_class($result) : gettype($result))
/lib/Assertion/ExpressionEvaluator.php49
sprintf('Do not know how to evaluate node "%s"'get_class($node))
/lib/Assertion/ExpressionEvaluator.php91
sprintf('Do not know how to compare operator "%s"'$node->operator( ))
/lib/Assertion/ExpressionEvaluator.php170
sprintf('Argument "%s" not available, available arguments: "%s"'$argNameimplode('", "'array_keys($this->arguments)))
/lib/Assertion/Ast/Arguments.php31
'You must specify at least one of `--file` and/or `--uuid`'
/lib/Console/Command/Handler/SuiteCollectionHandler.php52
'You must either specify or configure a path'
/lib/Console/Command/Handler/RunnerHandler.php125
'Could not rollback.'
/lib/Console/Command/SelfUpdateCommand.php82
'You must specify or configure at least one report, e.g.: --report=default'
/lib/Console/Command/ReportCommand.php95
sprintf('No result class was provided with key "%s" for attribute "%s"'$prefix$name)
/lib/Serializer/XmlDecoder.php275
sprintf('Parameters must be either scalars or arrays, got: %s'is_object($value) ? get_class($value) : gettype($value))
/lib/Serializer/XmlEncoder.php225
sprintf('XML file defines a non-existing result class "%s" - maybe you are missing an extension?'$class)
/lib/Serializer/XmlDecoder.php105
sprintf('Expected attribute name to have a result key prefix, got "%s".'$name)
/lib/Serializer/XmlDecoder.php266
sprintf('Time mode must be one of "%s", got "%s"'implode('", "'$validModes), $mode)
/lib/Util/TimeUnit.php343
sprintf('Invalid time unit "%s", available units: "%s"'$unitimplode('", "'array_keys(self::$map)))
/lib/Util/TimeUnit.php360
sprintf('Unknown profile "%s" specified, defined profiles: "%s"'$profileimplode('", "'array_keys($config['profiles'] ?? [ ])))
/lib/PhpBench.php232
sprintf('Unknown memory unit "%s", known memory units: "%s"'$unitimplode('", "'array_keys(self::$multipliers)))
/lib/Util/MemoryUnit.php53
sprintf('Could not find extension autoload file "%s"'$autoloadFile)
/lib/PhpBench.php48
sprintf('Profile "%s" was not generated. Maybe you do not have Xdebug installed?'$generatedFile)
/extensions/xdebug/lib/Command/ProfileCommand.php101