@ 2017-04-27T11:17:54Z <?php
$actual = <<<SOURCE
<!DOCTYPE html>
<html class="desktop-version">
<head>
<meta name="error" content="500" />
<title>Loading...</title>
<script id="page-title" type="text/html">500 - Internal Server Error</script>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no"/>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<link rel="shortcut icon" href="/bundles/orofrontend/default/images/favicon.ico?version=2ca56ad8" />
<link rel="stylesheet" media="all" href="/css/oro.css?version=2ca56ad8" />
<script type="text/template" id="template-datagrid-grid-view">
<div class="btn-toolbar">
<% if (choices.length) { %>
<div class="btn-group views-group">
<div data-toggle="dropdown" class="btn btn-link dropdown-toggle <% if (disabled) { %>disabled<% } %>">
<%= title %>
</div>
<ul class="dropdown-menu">
<% _.each(choices, function (choice) { %>
<li><a href="#" data-value="<%- choice.value %>">
<% if (choice.icon) { %><i class="<%- choice.icon %>"></i><% } %><%- choice.label %></a>
</li>
<% }); %>
</ul>
</div>
<% } %>
<% if (showActions) { %>
<div class="btn-group actions-group">
<div class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#">
<%- actionsLabel %>
</div>
<ul class="dropdown-menu">
<% _.each(actions, function(action) { %>
<% if (action.enabled) { %>
<li><a href="#" class="<%- action.name %>"><%- action.label %></a></li>
<% } %>
<% }); %>
</ul>
<% if (dirty) { %>
<div class="edited-label"> - <%- editedLabel %></div>
<% } %>
</div>
<% } %>
</div>
</script>
<script type="text/template" id="template-datagrid-grid-view-label">
<% if (navbar) { %>
<h1 class="oro-subtitle"><%- title %><span class="caret"></span></h1>
<% } else { %>
<%- title %><span class="caret"></span>
<% } %>
</script>
<script type="text/template" id="template-datagrid-view-name-modal">
<div class="form-horizontal">
<div class="control-group">
<label class="control-label" for="gridViewName"><%- label %>:</label>
<div class="controls">
<input id="gridViewName" name="name" type="text" value="<%- value %>">
</div>
</div>
<div class="control-group control-group-checkbox">
<label class="control-label" for="gridViewDefault"><%- defaultLabel %>:</label>
<div class="controls">
<input id="gridViewDefault" name="is_default" type="checkbox" <% if(defaultChecked) { %> checked <% } %> >
</div>
</div>
</div>
</script>
<script type="text/template" id="template-datagrid-view-name-error-modal">
<span for="gridViewName" class="validation-failed"><%= error %></span>
</script>
<script type="text-template" id="template-audit-condition-type-select">
<span class="active-filter">
<div>
<div class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= selected === "changed" ? changedLabel : changedToValueLabel %></a>
<ul class="dropdown-menu">
<li <%= (selected === "changed") ? 'class="active"' : '' %>>
<a class="choice-value" href="#" data-value="changed"><%= changedLabel %></a>
</li>
<li <%= (selected === "changed_to_value") ? 'class="active"' : '' %>>
<a class="choice-value" href="#" data-value="changed_to_value"><%= changedToValueLabel %></a>
</li>
</ul>
<select style="display: none;">
<option <%= (selected === "changed") ? "selected" : "" %> value="changed"><%= changedLabel %></option>
<option <%= (selected === "changed_to_value") ? "selected" : "" %> value="changed_to_value"><%= changedToValueLabel %></option>
</select>
<span class="active-filter">
</span>
</div>
</div>
</span>
</script>
<script type="text/html" id="filter-container">
<% if (!_.isEmpty(filters)) { %>
<div class="filter-box oro-clearfix-width">
<div class="filter-container">
<select data-action="add-filter-select" multiple>
<% _.each(filters, function (filter, name) { %>
<% if (filter.visible) { %>
<option title="<%- _.escape(filter.label) %>" value="<%- name %>" <% if (filter.enabled) { %>selected<% } %>>
<%- filter.label %>
</option>
<% } %>
<% }); %>
</select>
<span class="filter-items"></span>
<div class="filter-items-hint">
<a class="reset-filter-button" href="javascript:void(0);">Clear All Filters</a>
</div>
</div>
</div>
<% } %>
</script>
<script id="widget-items-item-select-template" type="text/template">
<div class="pull-left items-selector-widget">
<select class="item-select filter-select-oro">
<option></option>
<% items.each(function (item) { %>
<option value="<%= item.get('id') %>"><%= item.get('label') %></option>
<% }); %>
</select>
</div>
</script>
<script id="widget-items-item-template" type="text/template">
<tr data-cid="<%= cid %>">
<td><%= label %></td>
<td class="action-cell">
<input type="hidden" name="<%= namePrefix %>[id]" value="<%= id %>">
<input data-name="order" type="hidden" class="order" name="<%= namePrefix %>[order]" value="<%= order %>">
<input class="hide" data-name="show" type="checkbox" name="<%= namePrefix %>[show]" <%= show ? 'checked' : '' %>>
<% if (_.isMobile()) { %>
<span class="btn delete-button" data-collection-action="delete" title="Move column up">
<i class="fa-trash-o hide-text"></i>
</span>
<span class="btn move-up<% if (isFirst) { %> disabled<% } %>" data-collection-action="moveUp" title="Move column up">
<i class="fa-chevron-up"></i>
</span>
<span class="btn move-down<% if (isLast) { %> disabled<% } %>" data-collection-action="moveDown" title="Move column down">
<i class="fa-chevron-down"></i>
</span>
<% } else { %>
<a href="javascript: void(0);" class="action no-hash delete-button"
title="Delete column"
data-collection-action="delete">
<i class="fa-trash-o hide-text"></i>
</a>
<span title="Move column">
<i class="fa-arrows-v handle"></i>
</span>
<% } %>
</td>
</tr>
</script>
<script type="text/template" id="product-price-filter-template">
<div class="product-price-filter">
<span class="product-price-unit-filter-separator"><%- _.__("oro.pricing.filter.product_price.per") %></span>
<div class="btn-group btn-block product-price-unit-filter">
<button class="btn dropdown-toggle" data-toggle="dropdown">
<%- selectedChoiceLabel %><span class="caret"></span>
</button>
<ul class="dropdown-menu" data-name="unit">
<% _.each(choices, function (option) { %>
<li<% if (selectedChoice == option.value) { %> class="active"<% } %>>
<a class="dropdown-item choice-value" href="#" data-value="<%= option.value %>"><%- option.label %></a>
</li>
<% }); %>
</ul>
<input type="hidden" name="unit" id="unit" value="<%= selectedChoice %>"/>
</div>
</div>
</script>
<script type="text/template" id="product-prices-tier-button-template">
<div class="product-tier-prices">
<i class="fa-bars" data-toggle="popover" data-placement="bottom" data-close="false"></i>
</div>
</script>
<script type="text/template" id="product-prices-tier-table-template">
<table class="product-tier-prices-table">
<% if (clickable) { %>
<tr>
<td colspan="2">
<%= _.__('oro.pricing.click_to_select') %>
</td>
</tr>
<% } %>
<% _.each(prices, function(unitPrices, unit) { %>
<tr>
<td colspan="2">
<b><%= _.__('oro.product.product_unit.' + unit + '.label.full') %></b>
</td>
</tr>
<% _.each(unitPrices, function(price) { %>
<tr class="<% if (!_.isEmpty(matchedPrice) && unit === matchedPrice.unit && parseFloat(price.price) === parseFloat(matchedPrice.price)) { %>matched-tier-price<% } %>">
<td><div class="text-right"><%= price.quantity %>:</div></td>
<td>
<div class="text-left">
<% if (clickable) { %>
<a
href="javascript: void(0);"
data-price="<%= parseFloat(price.price) %>"
data-unit="<%= unit %>"
><%= formatter.formatCurrency(price.price, price.currency) %></a>
<% } else { %>
<%= formatter.formatCurrency(price.price, price.currency) %>
<% } %>
</div>
</td>
</tr>
<% }) %>
<% }) %>
</table>
</script>
<script type="text/template" id="product-prices-price-overridden-template">
<div class="product-price-overridden" style="display: none;">
<i class="fa-exclamation-circle" data-toggle="popover" data-placement="bottom" data-close="false" data-content="<p><%= _.__('oro.pricing.product_prices.price_is_overridden') %></p><p><a href='javascript: void(0);'><%= _.__('oro.pricing.product_prices.reset_price') %></a></p>"></i>
</div>
</script>
<script type="text/html" id="totals-template">
<div class="control-group">
<label class="control-label"><%= item.label %></label>
<div class="controls">
<label class="control-label"><%= item.formattedAmount %></label>
</div>
<% if (item.formattedBaseAmount) { %>
<div class="total-base-currency-wrapper">
<label class="control-label"></label>
<div class="controls">
<label class="control-label"><%= item.formattedBaseAmount %></label>
</div>
</div>
<% } %>
</div>
</script>
<script type="text/html" id="totals-template-no-data">
<div class="no-data">
<span>No data</span>
</div>
</script>
<script type="text/template" id="order-notes-widget">
<div class="notes-widget">
<div class="notes-widget-preview"></div>
<div class="notes-widget-edit"></div>
<a class="notes-widget-edit-btn" href="javascript: void(0);"><%= _.__('oro.order.notes_widget.edit') %></a>
<a class="notes-widget-add-btn" href="javascript: void(0);"><%= _.__('oro.order.notes_widget.add') %></a>
<a class="notes-widget-remove-btn" href="javascript: void(0);"><%= _.__('oro.order.notes_widget.remove') %></a>
</div>
</script>
<script type="text/html" id="order-taxes-totals-template">
<div class="control-group">
<label class="control-label"><%= item.label %></label>
<div class="controls">
<label class="control-label" data-toggle="collapse" data-target="#order-taxes-totals-table">
<%= item.formattedAmount %>
</label>
</div>
</div>
<% var collapseIn = _.defaults(item.data.in, true); %>
<div class="collapse<%= collapseIn ? ' in' : '' %>" id="order-taxes-totals-table">
<div class="controls">
<% var total = item.data.total %>
<% var shipping = item.data.shipping %>
<% var translations = {
unit: 'Unit Price',
row: 'Row Total',
total: 'Total',
shipping: 'Shipping'}
%>
<% var unit = unit; %>
<% var row = row; %>
<% var total = total; %>
<% var shipping = shipping; %>
<% var object = {unit: unit, row: row, shipping: shipping, total: total}; %>
<% var data = _.pick(object, _.identity); %>
<% if (data) { %>
<table class="grid table table-condensed table-bordered tax-result-grid">
<thead>
<tr>
<th class="renderable"></th>
<th class="renderable">Incl. Tax</th>
<th class="renderable">Excl. Tax</th>
<th class="renderable">Tax Amount</th>
</tr>
</thead>
<tbody>
<% _.each(data, function(item, key) { %>
<tr>
<td class="renderable"><%= translations[key] %></td>
<td class="renderable"><%= item.includingTax %></td>
<td class="renderable"><%= item.excludingTax %></td>
<td class="renderable"><%= item.taxAmount %></td>
</tr>
<% }); %>
</tbody>
</table>
<% } %>
SOURCE;
$text = 'There was an error performing the requested operation. Please try again or contact us for assistance.';
$actual = preg_replace('/\s+/u', ' ', $actual);
$regex = '/'.preg_quote($text, '/').'/ui';
$message = sprintf('The text "%s" appears in the text of this page, but it should not.', $text);
var_dump(!preg_match($regex, $actual));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
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).
Version System time (s) User time (s) Memory (MiB) 8.3.6 0.012 0.003 16.75 8.3.5 0.007 0.011 16.61 8.3.4 0.015 0.006 18.86 8.3.3 0.015 0.000 19.15 8.3.2 0.004 0.004 20.16 8.3.1 0.006 0.003 21.94 8.3.0 0.004 0.004 17.80 8.2.18 0.007 0.014 18.41 8.2.17 0.015 0.000 22.96 8.2.16 0.003 0.010 21.19 8.2.15 0.004 0.004 24.18 8.2.14 0.004 0.004 24.66 8.2.13 0.005 0.003 20.69 8.2.12 0.005 0.003 26.35 8.2.11 0.004 0.007 21.00 8.2.10 0.009 0.003 18.22 8.2.9 0.006 0.003 19.25 8.2.8 0.008 0.000 17.97 8.2.7 0.000 0.008 17.75 8.2.6 0.000 0.008 18.03 8.2.5 0.006 0.003 18.10 8.2.4 0.005 0.003 22.11 8.2.3 0.000 0.008 19.50 8.2.2 0.008 0.000 18.19 8.2.1 0.004 0.004 18.47 8.2.0 0.006 0.003 18.46 8.1.28 0.007 0.014 25.92 8.1.27 0.000 0.008 22.27 8.1.26 0.005 0.003 26.35 8.1.25 0.000 0.010 28.09 8.1.24 0.003 0.006 23.96 8.1.23 0.004 0.008 19.29 8.1.22 0.005 0.003 17.78 8.1.21 0.005 0.003 18.77 8.1.20 0.003 0.006 17.73 8.1.19 0.006 0.003 17.60 8.1.18 0.004 0.004 18.10 8.1.17 0.008 0.000 18.66 8.1.16 0.004 0.004 18.90 8.1.15 0.000 0.007 20.13 8.1.14 0.006 0.003 19.62 8.1.13 0.003 0.003 19.02 8.1.12 0.000 0.007 17.59 8.1.11 0.004 0.004 17.65 8.1.10 0.006 0.003 17.66 8.1.9 0.004 0.004 17.72 8.1.8 0.000 0.008 17.68 8.1.7 0.002 0.005 17.54 8.1.6 0.003 0.006 17.62 8.1.5 0.003 0.007 17.77 8.1.4 0.000 0.008 17.62 8.1.3 0.005 0.003 17.76 8.1.2 0.004 0.004 17.79 8.1.1 0.008 0.000 17.61 8.1.0 0.004 0.004 17.61 8.0.30 0.000 0.008 18.77 8.0.29 0.000 0.008 17.00 8.0.28 0.005 0.003 18.43 8.0.27 0.005 0.003 17.26 8.0.26 0.003 0.003 19.07 8.0.25 0.004 0.004 17.26 8.0.24 0.000 0.007 17.21 8.0.23 0.000 0.007 17.14 8.0.22 0.004 0.004 17.23 8.0.21 0.000 0.008 17.15 8.0.20 0.003 0.005 17.14 8.0.19 0.004 0.004 17.14 8.0.18 0.004 0.004 17.21 8.0.17 0.004 0.004 17.23 8.0.16 0.004 0.004 17.17 8.0.15 0.000 0.008 17.12 8.0.14 0.006 0.003 17.14 8.0.13 0.004 0.004 13.60 8.0.12 0.006 0.003 17.23 8.0.11 0.005 0.003 17.31 8.0.10 0.000 0.008 17.29 8.0.9 0.003 0.006 17.26 8.0.8 0.013 0.009 17.21 8.0.7 0.003 0.005 17.10 8.0.6 0.003 0.005 17.27 8.0.5 0.000 0.008 17.26 8.0.3 0.008 0.011 17.33 8.0.2 0.010 0.012 17.46 8.0.1 0.003 0.005 17.39 8.0.0 0.011 0.007 17.04 7.4.33 0.003 0.003 15.55 7.4.32 0.003 0.003 16.83 7.4.30 0.003 0.003 16.77 7.4.29 0.004 0.004 16.93 7.4.28 0.004 0.004 16.82 7.4.27 0.000 0.007 16.93 7.4.26 0.007 0.003 16.93 7.4.25 0.003 0.003 16.68 7.4.24 0.004 0.004 16.80 7.4.23 0.005 0.002 16.84 7.4.22 0.005 0.011 16.86 7.4.21 0.009 0.006 16.70 7.4.20 0.004 0.004 16.89 7.4.16 0.008 0.008 16.62 7.4.15 0.003 0.017 17.40 7.4.14 0.018 0.004 17.86 7.4.13 0.013 0.008 16.77 7.4.12 0.009 0.014 16.77 7.4.11 0.014 0.004 16.68 7.4.10 0.007 0.011 16.66 7.4.9 0.018 0.010 16.74 7.4.8 0.010 0.007 19.39 7.4.7 0.013 0.013 16.90 7.4.6 0.016 0.000 17.01 7.4.5 0.000 0.016 16.85 7.4.4 0.000 0.017 16.93 7.4.3 0.009 0.011 16.74 7.4.0 0.009 0.006 15.34 7.3.33 0.003 0.003 13.44 7.3.32 0.003 0.003 13.42 7.3.31 0.000 0.007 16.45 7.3.30 0.003 0.004 16.52 7.3.29 0.000 0.007 16.41 7.3.28 0.007 0.010 16.52 7.3.27 0.009 0.009 17.40 7.3.26 0.010 0.014 16.55 7.3.25 0.007 0.014 16.66 7.3.24 0.010 0.013 16.57 7.3.23 0.003 0.016 16.54 7.3.21 0.013 0.011 16.55 7.3.20 0.009 0.009 16.57 7.3.19 0.003 0.014 16.59 7.3.18 0.017 0.000 16.50 7.3.17 0.003 0.014 16.44 7.3.16 0.009 0.012 16.79 7.3.1 0.003 0.014 16.59 7.3.0 0.006 0.010 16.57 7.2.33 0.015 0.009 16.76 7.2.32 0.015 0.006 16.79 7.2.31 0.007 0.010 16.71 7.2.30 0.009 0.009 16.80 7.2.29 0.011 0.007 16.89 7.2.13 0.006 0.012 16.94 7.2.12 0.006 0.009 16.93 7.2.11 0.010 0.007 17.08 7.2.10 0.007 0.011 17.14 7.2.9 0.007 0.014 16.73 7.2.8 0.004 0.011 16.99 7.2.7 0.007 0.007 16.91 7.2.6 0.002 0.015 17.04 7.2.5 0.013 0.009 16.80 7.2.4 0.004 0.014 16.80 7.2.3 0.015 0.007 16.65 7.2.2 0.008 0.005 16.85 7.2.1 0.000 0.017 16.85 7.2.0 0.006 0.009 17.07 7.1.25 0.013 0.003 15.50 7.1.20 0.000 0.012 15.64 7.1.7 0.006 0.006 17.39 7.1.6 0.006 0.006 17.52 7.1.4 0.077 0.013 32.47 7.1.3 0.140 0.017 32.72 7.1.2 0.067 0.010 32.85 7.1.1 0.057 0.013 14.88 7.1.0 0.080 0.010 15.01 7.0.20 0.006 0.006 17.00 7.0.18 0.080 0.003 14.54 7.0.17 0.077 0.017 14.57 7.0.16 0.080 0.007 14.46 7.0.15 0.080 0.010 14.30 7.0.14 0.083 0.010 14.63 7.0.13 0.063 0.010 14.64 7.0.12 0.070 0.010 14.73 7.0.11 0.057 0.013 14.49 7.0.10 0.070 0.010 14.61 7.0.9 0.050 0.017 14.50 7.0.8 0.060 0.010 14.71 7.0.7 0.087 0.013 14.69 7.0.6 0.070 0.007 14.49 7.0.5 0.073 0.010 14.50 7.0.4 0.070 0.017 14.73 7.0.3 0.077 0.007 14.50 7.0.2 0.083 0.003 14.61 7.0.1 0.097 0.007 14.65 7.0.0 0.080 0.003 14.61
preferences:dark mode live preview
54.31 ms | 400 KiB | 5 Q