3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (strpos($imageUrl, 'https://s3-eu-west-1.amazonaws.com/localsunited/') !== false) { echo str_replace('https://s3-eu-west-1.amazonaws.com/localsunited/', 'https://files.localsunited.nl/', 'https://s3-eu-west-1.amazonaws.com/localsunited/live/image/producttype/thumb_berenice_vest-apache-black_541ac41a9f1e9.jpg'); } else if (strpos($imageUrl, 'http://files.localsunited.nl') !== false) { echo ''; } else { echo 'https://s3-eu-west-1.amazonaws.com/localsunited/live/image/producttype/thumb_berenice_vest-apache-black_541ac41a9f1e9.jpg'; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $imageUrl in /in/FF63N on line 3 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/FF63N on line 3 Warning: Undefined variable $imageUrl in /in/FF63N on line 5 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/FF63N on line 5 https://s3-eu-west-1.amazonaws.com/localsunited/live/image/producttype/thumb_berenice_vest-apache-black_541ac41a9f1e9.jpg

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
52.82 ms | 402 KiB | 8 Q