3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/^([A-Z]+): (.*(?:\r?\n(?![A-Z]+: ).*)*)/m'; $str = 'SQL: SELECT `translation`.`string`, `translation`.`translate` FROM `translation` WHERE (store_id IN (0 , :store_id)) AND (locale = :locale) ORDER BY `store_id` ASC BIND: array ( \':locale\' => \'en_US\', \':store_id\' => \'3\', ) AFF: 0 TIME: 0.0003 TRACE: #1 xxx\\Framework\\DB\\Logger\\File[xxx\\Framework\\DB\\Logger\\LoggerAbstract]#0000000028783cd000000000748608f7#->getStats(\'query\', \'SELECT `translat...\', array(\':locale\' => \'en_US\', \':store_id\' => 3), &xxx\\Framework\\DB\\Statement\\Pdo\\Mysql#0000000028783e1900000000748608f7#) called at [vendor/xxx/framework/DB/Logger/File.php:67] #2 xxx\\Framework\\DB\\Logger\\File#0000000028783cd000000000748608f7#->logStats(\'query\', \'SELECT `translat...\', array(\':locale\' => \'en_US\', \':store_id\' => 3), &xxx\\Framework\\DB\\Statement\\Pdo\\Mysql#0000000028783e1900000000748608f7#) called at [vendor/xxx/framework/DB/Logger/LoggerProxy.php:152] #3 xxx\\Framework\\DB\\Logger\\LoggerProxy#0000000028783cba00000000748608f7#->logStats(\'query\', \'SELECT `translat...\', array(\':locale\' => \'en_US\', \':store_id\' => 3), &xxx\\Framework\\DB\\Statement\\Pdo\\Mysql#0000000028783e1900000000748608f7#) called at [vendor/xxx/framework/DB/Adapter/Pdo/Mysql.php:547] #4 xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql\\Interceptor[xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql]#0000000028783ca800000000748608f7#->_query(\'SELECT `translat...\', array(\':locale\' => \'en_US\', \':store_id\' => 3)) called at [vendor/xxx/framework/DB/Adapter/Pdo/Mysql.php:613] #5 xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql\\Interceptor[xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql]#0000000028783ca800000000748608f7#->query(&xxx\\Framework\\DB\\Select#0000000028783eea00000000748608f7#, array(\':locale\' => \'en_US\', \':store_id\' => 3)) called at [generated/code/xxx/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:128] #6 xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql\\Interceptor#0000000028783ca800000000748608f7#->query(&xxx\\Framework\\DB\\Select#0000000028783eea00000000748608f7#, array(\':locale\' => \'en_US\', \':store_id\' => 3)) called at [vendor/xxx/zendframework1/library/Zend/Db/Adapter/Abstract.php:811] #7 xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql\\Interceptor[Zend_Db_Adapter_Abstract]#0000000028783ca800000000748608f7#->fetchPairs(&xxx\\Framework\\DB\\Select#0000000028783eea00000000748608f7#, array(\':locale\' => \'en_US\', \':store_id\' => 3)) called at [generated/code/xxx/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:1610] #8 xxx\\Framework\\DB\\Adapter\\Pdo\\Mysql\\Interceptor#0000000028783ca800000000748608f7#->fetchPairs(&xxx\\Framework\\DB\\Select#0000000028783eea00000000748608f7#, array(\':locale\' => \'en_US\', \':store_id\' => 3)) called at [vendor/xxx/module-translation/Model/ResourceModel/Translate.php:90] #9 xxx\\Translation\\Model\\ResourceModel\\Translate#0000000028783eeb00000000748608f7#->getTranslationArray(3, \'en_US\') called at [generated/code/xxx/Framework/Translate/ResourceInterface/Proxy.php:95] #10 xxx\\Framework\\Translate\\ResourceInterface\\Proxy#0000000028783ecd00000000748608f7#->getTranslationArray(NULL, \'en_US\') called at [vendor/xxx/framework/Translate.php:380] #11 xxx\\TranslationGenerator\\Model\\Import\\Translate[xxx\\Framework\\Translate]#0000000028783ede00000000748608f7#->_loadDbTranslation() called at [vendor/xxx/translation-generator/Model/Import/Translate.php:130] #12 xxx\\TranslationGenerator\\Model\\Import\\Translate#0000000028783ede00000000748608f7#->loadData(\'frontend\', false) called at [vendor/xxx/framework/App/Area.php:245] #13 xxx\\Framework\\App\\Area#0000000028783ec600000000748608f7#->_initTranslate() called at [vendor/xxx/framework/App/Area.php:216] #14 xxx\\Framework\\App\\Area#0000000028783ec600000000748608f7#->_loadPart(\'translate\') called at [vendor/xxx/framework/App/Area.php:143] #15 xxx\\Framework\\App\\Area#0000000028783ec600000000748608f7#->load(\'translate\') called at [vendor/xxx/framework/View/DesignLoader.php:55] #16 xxx\\Framework\\View\\DesignLoader#0000000028783ec200000000748608f7#->load() called at [vendor/xxx/framework/App/Action/Plugin/Design.php:48] #17 xxx\\Framework\\App\\Action\\Plugin\\Design#0000000028783edd00000000748608f7#->beforeDispatch(&xxx\\Customer\\Controller\\Section\\Load\\Interceptor#0000000028783ed400000000748608f7#, &xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:121] #18 xxx\\Customer\\Controller\\Section\\Load\\Interceptor#0000000028783ed400000000748608f7#->xxx\\Framework\\Interception\\{closure}(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:153] #19 xxx\\Customer\\Controller\\Section\\Load\\Interceptor#0000000028783ed400000000748608f7#->___callPlugins(\'dispatch\', array(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#), array(array(\'designLoader\', \'customerNotifica...\', \'catalog_app_acti...\', \'tax-app-action-d...\', \'weee-app-action-...\', \'storeCheck\', \'contextPlugin\', \'customer-app-act...\', \'customer-segment...\'))) called at [generated/code/xxx/Customer/Controller/Section/Load/Interceptor.php:39] #20 xxx\\Customer\\Controller\\Section\\Load\\Interceptor#0000000028783ed400000000748608f7#->dispatch(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/App/FrontController.php:162] #21 xxx\\Framework\\App\\FrontController\\Interceptor[xxx\\Framework\\App\\FrontController]#0000000028783ce800000000748608f7#->processRequest(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#, &xxx\\Customer\\Controller\\Section\\Load\\Interceptor#0000000028783ed400000000748608f7#) called at [vendor/xxx/framework/App/FrontController.php:98] #22 xxx\\Framework\\App\\FrontController\\Interceptor[xxx\\Framework\\App\\FrontController]#0000000028783ce800000000748608f7#->dispatch(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:58] #23 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->___callParent(\'dispatch\', array(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#)) called at [vendor/xxx/framework/Interception/Interceptor.php:138] #24 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->xxx\\Framework\\Interception\\{closure}(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99] #25 xxx\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor#0000000028783f0400000000748608f7#->aroundDispatch(&xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#, &Closure#0000000028783c2500000000748608f7#, &xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:135] #26 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->xxx\\Framework\\Interception\\{closure}(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73] #27 xxx\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin#0000000028783c5a00000000748608f7#->aroundDispatch(&xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#, &Closure#0000000028783c2500000000748608f7#, &xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:135] #28 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->xxx\\Framework\\Interception\\{closure}(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/Interception/Interceptor.php:153] #29 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->___callPlugins(\'dispatch\', array(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#), NULL) called at [generated/code/xxx/Framework/App/FrontController/Interceptor.php:26] #30 xxx\\Framework\\App\\FrontController\\Interceptor#0000000028783ce800000000748608f7#->dispatch(&xxx\\Framework\\App\\Request\\Http#0000000028783d0b00000000748608f7#) called at [vendor/xxx/framework/App/Http.php:116] #31 xxx\\Framework\\App\\Http\\Interceptor[xxx\\Framework\\App\\Http]#0000000028783d4700000000748608f7#->launch() called at [generated/code/xxx/Framework/App/Http/Interceptor.php:24] #32 xxx\\Framework\\App\\Http\\Interceptor#0000000028783d4700000000748608f7#->launch() called at [vendor/xxx/framework/App/Bootstrap.php:261] #33 xxx\\Framework\\App\\Bootstrap#0000000028783d9c00000000748608f7#->run(&xxx\\Framework\\App\\Http\\Interceptor#0000000028783d4700000000748608f7#) called at [pub/index.php:49]'; preg_match_all($re, $str, $matches); print_r($matches);

Abusive script

This script was stopped while abusing our resources

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.110.0090.00020.94
8.3.100.0110.00016.61
8.3.90.0060.00326.77
8.3.80.0050.00516.88
8.3.70.0130.00616.88
8.3.60.0090.00616.75
8.3.50.0140.00718.48
8.3.40.0140.00718.92
8.3.30.0140.00018.79
8.3.20.0080.00024.18
8.3.10.0000.00824.66
8.3.00.0050.00326.16
8.2.230.0030.00522.58
8.2.220.0000.00924.06
8.2.210.0100.01026.77
8.2.200.0060.00616.50
8.2.190.0000.01516.63
8.2.180.0070.00725.92
8.2.170.0100.00619.10
8.2.160.0160.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0070.00019.77
8.2.110.0060.00322.20
8.2.100.0060.00619.76
8.2.90.0040.00418.00
8.2.80.0000.00818.86
8.2.70.0080.00017.75
8.2.60.0080.00018.03
8.2.50.0000.00918.07
8.2.40.0050.00320.07
8.2.30.0000.00818.14
8.2.20.0050.00218.07
8.2.10.0040.00419.20
8.2.00.0000.00719.26
8.1.290.0060.00330.84
8.1.280.0080.01125.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0030.00620.76
8.1.230.0100.00017.89
8.1.220.0000.01017.79
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0080.00017.24
8.1.180.0000.00818.10
8.1.170.0060.00318.66
8.1.160.0000.00818.92
8.1.150.0080.00018.75
8.1.140.0050.00318.89
8.1.130.0040.00420.23
8.1.120.0000.00717.63
8.1.110.0000.00817.64
8.1.100.0040.00417.51
8.1.90.0000.00717.56
8.1.80.0000.00817.60
8.1.70.0040.00417.50
8.1.60.0030.00617.77
8.1.50.0000.00817.67
8.1.40.0030.00617.64
8.1.30.0000.00817.73
8.1.20.0030.00617.71
8.1.10.0050.00517.65
8.1.00.0000.00717.67
8.0.300.0040.00420.67
8.0.290.0030.00616.88
8.0.280.0000.01018.46
8.0.270.0030.00318.05
8.0.260.0000.00720.32
8.0.250.0030.00317.09
8.0.240.0000.00716.97
8.0.230.0070.00017.13
8.0.220.0000.00716.93
8.0.210.0000.00717.13
8.0.200.0000.00717.11
8.0.190.0040.00417.11
8.0.180.0030.00617.07
8.0.170.0000.00817.04
8.0.160.0030.00517.10
8.0.150.0000.00716.97
8.0.140.0050.00216.88
8.0.130.0000.00513.45
8.0.120.0040.00416.89
8.0.110.0000.00717.03
8.0.100.0070.00017.10
8.0.90.0040.00417.07
8.0.80.0110.00617.05
8.0.70.0030.00516.92
8.0.60.0000.00717.13
8.0.50.0000.00817.03
8.0.30.0120.00317.02
8.0.20.0060.01016.99
8.0.10.0040.01117.11
8.0.00.0100.01017.11
7.4.330.0000.00515.55
7.4.320.0050.00216.73
7.4.300.0060.00016.73
7.4.290.0030.00316.75
7.4.280.0040.00416.78
7.4.270.0040.00416.76
7.4.260.0050.00013.41
7.4.250.0000.00716.69
7.4.240.0020.00516.74
7.4.230.0000.00716.91
7.4.220.0000.00716.79
7.4.210.0050.01116.77
7.4.200.0000.00716.76
7.4.160.0000.02016.73
7.4.150.0100.01016.66
7.4.140.0030.01216.74
7.4.130.0110.00816.83
7.4.120.0060.00916.68
7.4.110.0060.00916.75
7.4.100.0040.01116.82
7.4.90.0090.01316.77
7.4.80.0150.00016.60
7.4.70.0100.00716.82
7.4.60.0080.00816.64
7.4.50.0130.00316.64
7.4.40.0040.01116.47
7.4.30.0110.00416.85
7.4.20.0090.00616.63
7.4.10.0070.00716.70
7.4.00.0100.00516.71
7.3.330.0070.00016.21
7.3.320.0070.00013.09
7.3.310.0040.00416.41
7.3.300.0030.00316.38
7.3.290.0050.01116.35
7.3.280.0150.00016.38
7.3.270.0000.01516.29
7.3.260.0060.00916.30
7.3.250.0030.01216.32
7.3.240.0060.00916.35
7.3.230.0090.00916.28
7.3.220.0030.01516.26
7.3.210.0000.01416.35
7.3.200.0070.00716.34
7.3.190.0090.00616.26
7.3.180.0060.00916.30
7.3.170.0120.00616.32
7.3.160.0060.00916.27
7.3.150.0090.00616.29
7.3.140.0100.00716.30
7.3.130.0060.01216.23
7.3.120.0090.00616.34
7.3.110.0100.00616.24
7.3.100.0120.00916.27
7.3.90.0130.00616.58
7.3.80.0120.00616.34
7.3.70.0070.01116.42
7.3.60.0060.00916.46
7.3.50.0090.01016.52
7.3.40.0100.00916.45
7.3.30.0130.00316.40
7.3.20.0060.01016.38
7.3.10.0030.01316.46
7.3.00.0130.00316.35

preferences:
116.46 ms | 4398 KiB | 5 Q