<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 08:49:39 +0000</lastBuildDate>
    <item>
      <title>(PHP) PHP - Doctrine - Left join ON condition AND other condition syntax in Doctrine - satie83</title>
      <link>https://snipplr.com/view/94098/php--doctrine--left-join-on-condition-and-other-condition-syntax-in-doctrine</link>
      <description>&lt;p&gt;In SQL I can get this by adding AND to the join&#13;
&#13;
LEFT JOIN installations i ON a.id = i.app AND i.page = :page&#13;
This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that have installations on other pages or not at all.&#13;
&#13;
Is there a way to do this in Doctrine or am I better off just getting all the installations for each application and then checking against the found page with php?&#13;
&#13;
##########################################################################&#13;
&#13;
See function leftJoin in doc: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html#high-level-api-methods&lt;/p&gt;</description>
      <pubDate>Fri, 20 Mar 2015 00:36:12 UTC</pubDate>
      <guid>https://snipplr.com/view/94098/php--doctrine--left-join-on-condition-and-other-condition-syntax-in-doctrine</guid>
    </item>
    <item>
      <title>(PHP) PHP - Calculate Weekends and Holidays in PHP - satie83</title>
      <link>https://snipplr.com/view/72129/php--calculate-weekends-and-holidays-in-php</link>
      <description>&lt;p&gt;Der folgende Codeschnipsel enthÃ¤lt keinerlei ÃœberprÃ¼fungen der Ã¼bergebenen Parameter, diese sollten fÃ¼r den produktiven Einsatz noch nachgepflegt werden.&#13;
Wie man sieht, ist die Berechnung von Wochendenden und Feiertagen recht einfach. Diese Berechnung kann man sicherlich auch schnell in anderen Programmiersprachen abbilden.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Aug 2013 00:49:22 UTC</pubDate>
      <guid>https://snipplr.com/view/72129/php--calculate-weekends-and-holidays-in-php</guid>
    </item>
    <item>
      <title>(PHP) PHP - Extract numbers from a string - satie83</title>
      <link>https://snipplr.com/view/71658/php--extract-numbers-from-a-string</link>
      <description>&lt;p&gt;I want to extract the numbers from a string that contains numbers and letters like&lt;/p&gt;</description>
      <pubDate>Fri, 28 Jun 2013 00:52:31 UTC</pubDate>
      <guid>https://snipplr.com/view/71658/php--extract-numbers-from-a-string</guid>
    </item>
    <item>
      <title>(PHP) PHP - Remove all non-numeric characters - satie83</title>
      <link>https://snipplr.com/view/66250/php--remove-all-nonnumeric-characters</link>
      <description>&lt;p&gt;Sometimes itâ€™s helpful to ONLY get numeric characters.&#13;
Phone numbers, age â€” whatever your little PHP heart desires.&lt;/p&gt;</description>
      <pubDate>Fri, 20 Jul 2012 22:17:59 UTC</pubDate>
      <guid>https://snipplr.com/view/66250/php--remove-all-nonnumeric-characters</guid>
    </item>
    <item>
      <title>(PHP) PHP - How to check if string contains substring PHP - satie83</title>
      <link>https://snipplr.com/view/66212/php--how-to-check-if-string-contains-substring-php</link>
      <description>&lt;p&gt;Once in a while we need to check whether a string contains substring, some other string or characters or a value. Checking for existence of a string (or substring) inside another string is easier than it might seem. The following article describes how to check for whether a string contains string in PHP, or simply said how to find string within string in PHP.&lt;/p&gt;</description>
      <pubDate>Wed, 18 Jul 2012 20:48:04 UTC</pubDate>
      <guid>https://snipplr.com/view/66212/php--how-to-check-if-string-contains-substring-php</guid>
    </item>
    <item>
      <title>(PHP) PHP - Getting Yesterday\'s Date in PHP - satie83</title>
      <link>https://snipplr.com/view/65560/php--getting-yesterdays-date-in-php</link>
      <description>&lt;p&gt;Example calculate yesterday, but if you multiply by some number you can get in an easy way, weeks, months or years&lt;/p&gt;</description>
      <pubDate>Tue, 12 Jun 2012 20:46:33 UTC</pubDate>
      <guid>https://snipplr.com/view/65560/php--getting-yesterdays-date-in-php</guid>
    </item>
    <item>
      <title>(PHP) PHP - Function endswith - satie83</title>
      <link>https://snipplr.com/view/64263/php--function-endswith</link>
      <description>&lt;p&gt;This function checks if the $stringComplete variable ends with the string $endString.&lt;/p&gt;</description>
      <pubDate>Sat, 31 Mar 2012 20:32:35 UTC</pubDate>
      <guid>https://snipplr.com/view/64263/php--function-endswith</guid>
    </item>
    <item>
      <title>(PHP) PHP - Sorting of a key on a multi-dimensional array - satie83</title>
      <link>https://snipplr.com/view/64242/php--sorting-of-a-key-on-a-multidimensional-array</link>
      <description>&lt;p&gt;A nice way to do sorting of a key on a multi-dimensional array - DavidG&lt;/p&gt;</description>
      <pubDate>Fri, 30 Mar 2012 22:54:52 UTC</pubDate>
      <guid>https://snipplr.com/view/64242/php--sorting-of-a-key-on-a-multidimensional-array</guid>
    </item>
    <item>
      <title>(PHP) PHP - Convert an object to an associative array - satie83</title>
      <link>https://snipplr.com/view/64104/php--convert-an-object-to-an-associative-array</link>
      <description>&lt;p&gt;Converts a php object to an associative array&lt;/p&gt;</description>
      <pubDate>Thu, 22 Mar 2012 22:25:56 UTC</pubDate>
      <guid>https://snipplr.com/view/64104/php--convert-an-object-to-an-associative-array</guid>
    </item>
  </channel>
</rss>
