Log 4946

$items = explode(“,”, #פירוט time logs למשימה זו#);
$sum = 0;

foreach ($items as $item) {
preg_match_all(‘/d+(.d+)?/’, $item, $matches);
foreach ($matches[0] as $number) {
if (strpos($item, “-“) === false) {
$sum += $number;
}
}
}

return $sum;

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare