3v4l.org

run code in 300+ PHP versions simultaneously
<?php $payload = json_decode('{"repository": {"website": "http://clients.namanyayg.com/davidado/asianfanfics", "fork": false, "name": "AsianFanfics", "scm": "git", "owner": "namanyayg", "absolute_url": "/namanyayg/asianfanfics/", "slug": "asianfanfics", "is_private": true}, "truncated": false, "commits": [{"node": "5741782e36cb", "files": [{"type": "removed", "file": "README.md"}], "raw_author": "Namanyay Goel <mail@namanyayg.com>", "utctimestamp": "2014-03-05 09:58:52+00:00", "author": "namanyayg", "timestamp": "2014-03-05 10:58:52", "raw_node": "5741782e36cbac80dc01bc3605eda95640a3f480", "parents": ["1d0a82c82718"], "branch": "master", "message": "Removed README\n", "revision": null, "size": -1}], "canon_url": "https://bitbucket.org", "user": "namanyayg"}'); $repo = $payload->repository; echo "Hi!"; $payload = $_POST['payload']; $repo = $payload->repo; echo 'Deploying on ' . date('l jS \of F Y h:i:s A'); echo $payload == true; echo $repo->owner === 'namanyayg'; echo strrpos($repo->absolute_url, 'namanyayg') == true; if ( $payload == true && $repo->owner === 'namanyayg' && strrpos($repo->absolute_url, 'namanyayg') == true ) { $url = str_replace('http://clients.namanyayg.com/', '', $repo->website); $bitbucketurl = substr($repo->absolute_url, 1, -1); echo 'True! ' . $url . $bitbucketurl; $makeandcdcommand = 'mkdir ' . $url . ' && cd ' . $url; $gitclonecommand = 'rm -rf * && ' . 'git clone git@bitbucket.org:' . $bitbucketurl . '.git'; echo 'True! ' . $makeandcdcommand . $gitclonecommand; $makeandcd = shell_exec($makeandcdcommand); $gitclone = shell_exec($gitclonecommand); echo $makeandcd . $gitclone; }; ?>

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.70.0140.00318.43
8.3.60.0150.00418.56
8.3.50.0070.01021.21
8.3.40.0110.00719.03
8.3.30.0110.00419.17
8.3.20.0040.00420.15
8.3.10.0080.00021.92
8.3.00.0080.00022.40
8.2.190.0130.00716.60
8.2.180.0130.00917.00
8.2.170.0040.01422.96
8.2.160.0070.00719.34
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0090.00019.68
8.2.110.0060.00320.51
8.2.100.0080.00418.09
8.2.90.0000.00819.60
8.2.80.0050.00318.05
8.2.70.0040.00417.75
8.2.60.0030.00517.88
8.2.50.0000.00818.05
8.2.40.0000.00917.88
8.2.30.0060.00318.12
8.2.20.0050.00318.04
8.2.10.0030.00618.04
8.2.00.0000.00918.02
8.1.280.0080.00625.92
8.1.270.0070.00318.80
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0070.00320.91
8.1.230.0060.00620.73
8.1.220.0070.00417.75
8.1.210.0050.00318.77
8.1.200.0000.00917.63
8.1.190.0040.00417.25
8.1.180.0050.00318.10
8.1.170.0040.00417.76
8.1.160.0070.00022.19
8.1.150.0030.00518.86
8.1.140.0000.00817.66
8.1.130.0000.01017.98
8.1.120.0050.00217.63
8.1.110.0000.00817.66
8.1.100.0000.00717.66
8.1.90.0040.00317.53
8.1.80.0000.00817.64
8.1.70.0040.00417.55
8.1.60.0060.00317.69
8.1.50.0060.00317.66
8.1.40.0000.00817.55
8.1.30.0060.00317.79
8.1.20.0000.00917.74
8.1.10.0060.00317.67
8.1.00.0000.00917.56
8.0.300.0070.00019.98
8.0.290.0000.00817.13
8.0.280.0070.00018.60
8.0.270.0040.00417.37
8.0.260.0070.00017.05
8.0.250.0000.00717.17
8.0.240.0030.00617.14
8.0.230.0030.00317.21
8.0.220.0000.00717.00
8.0.210.0000.00717.11
8.0.200.0030.00317.18
8.0.190.0000.00817.14
8.0.180.0050.00217.04
8.0.170.0060.00317.21
8.0.160.0050.00317.10
8.0.150.0040.00416.98
8.0.140.0040.00417.16
8.0.130.0030.00313.48
8.0.120.0040.00416.98
8.0.110.0040.00416.94
8.0.100.0000.00716.97
8.0.90.0030.00316.96
8.0.80.0140.00017.08
8.0.70.0040.00417.08
8.0.60.0040.00417.02
8.0.50.0000.00817.19
8.0.30.0110.00917.29
8.0.20.0120.01017.40
8.0.10.0060.00317.30
8.0.00.0060.01416.95
7.4.330.0000.00615.00
7.4.320.0000.00716.70
7.4.300.0000.00616.68
7.4.290.0000.00716.53
7.4.280.0000.00716.66
7.4.270.0030.00316.70
7.4.260.0070.00016.52
7.4.250.0040.00416.68
7.4.240.0040.00316.62
7.4.230.0070.00016.50
7.4.220.0130.01016.57
7.4.210.0040.01216.66
7.4.200.0040.00316.73
7.4.190.0000.00716.76
7.4.160.0130.00416.68
7.4.150.0090.00917.40
7.4.140.0090.01317.86
7.4.130.0090.01016.86
7.4.120.0090.00816.75
7.4.110.0150.00316.64
7.4.100.0040.01616.85
7.4.90.0090.00816.80
7.4.80.0110.01119.39
7.4.70.0090.00916.84
7.4.60.0030.01416.70
7.4.50.0000.00516.82
7.4.40.0000.01822.77
7.4.30.0060.00916.79
7.4.10.0070.01414.77
7.4.00.0090.00814.98
7.3.330.0000.00613.21
7.3.320.0030.00313.23
7.3.310.0000.00716.49
7.3.300.0000.00716.29
7.3.290.0030.01016.40
7.3.280.0070.00816.41
7.3.270.0180.00017.40
7.3.260.0060.01216.57
7.3.250.0110.00616.42
7.3.240.0040.01316.65
7.3.230.0060.01016.59
7.3.210.0160.00416.40
7.3.200.0060.01019.39
7.3.190.0140.00316.46
7.3.180.0070.01016.51
7.3.170.0060.00916.61
7.3.160.0060.00916.42
7.3.130.0110.00714.96
7.3.120.0050.01015.10
7.3.110.0120.00614.89
7.3.100.0100.00715.00
7.3.90.0060.00914.91
7.3.80.0030.01014.99
7.3.70.0030.00714.86
7.3.60.0090.00614.88
7.3.50.0090.00014.91
7.3.40.0030.00615.09
7.3.30.0080.00414.93
7.3.20.0100.00016.80
7.3.10.0050.00616.78
7.3.00.0070.00716.73
7.2.330.0120.00616.70
7.2.320.0100.01316.75
7.2.310.0060.01417.06
7.2.300.0030.01316.96
7.2.290.0040.01216.82
7.2.260.0090.00915.38
7.2.250.0100.01015.01
7.2.240.0060.00915.30
7.2.230.0070.00715.57
7.2.220.0040.01115.30
7.2.210.0090.00615.16
7.2.200.0040.00715.10
7.2.190.0000.01415.30
7.2.180.0070.00315.13
7.2.170.0030.01415.14
7.2.160.0090.00914.92
7.2.150.0030.00616.90
7.2.140.0070.00716.84
7.2.130.0090.00916.73
7.2.120.0120.00916.72
7.2.110.0060.00316.89
7.2.100.0040.01116.77
7.2.90.0100.00717.18
7.2.80.0030.01116.85
7.2.70.0030.01416.97
7.2.60.0040.00917.14
7.2.50.0030.01016.96
7.2.40.0120.00317.30
7.2.30.0030.01017.01
7.2.20.0120.00316.98
7.2.10.0000.01117.00
7.2.00.0130.00317.09
7.1.330.0090.00615.93
7.1.320.0000.01315.69
7.1.310.0110.00315.94
7.1.300.0060.00315.68
7.1.290.0040.00715.71
7.1.280.0040.00915.84
7.1.270.0060.00616.03
7.1.260.0030.00615.79
7.1.250.0090.00615.71
7.1.240.0080.00315.96
7.1.230.0000.01115.70
7.1.220.0100.00315.54
7.1.210.0060.00615.75
7.1.200.0210.00815.60
7.1.190.0040.01415.81
7.1.180.0070.00315.86
7.1.170.0000.01615.91
7.1.160.0000.01315.80
7.1.150.0030.00715.94
7.1.140.0040.00415.91
7.1.130.0000.01015.96
7.1.120.0060.01015.75
7.1.110.0080.00416.01
7.1.100.0070.01015.94
7.1.90.0030.01115.89
7.1.80.0030.00615.98
7.1.70.0070.00316.27
7.1.60.0040.00916.48
7.1.50.0090.01116.62
7.1.40.0060.00915.70
7.1.30.0060.00615.54
7.1.20.0040.01215.73
7.1.10.0080.00815.78
7.1.00.0070.02218.90
7.0.330.0100.00715.48
7.0.320.0060.00315.52
7.0.310.0060.00315.22
7.0.300.0040.00815.27
7.0.290.0030.01015.47
7.0.280.0000.01015.46
7.0.270.0000.01315.38
7.0.260.0050.00315.62
7.0.250.0070.00715.43
7.0.240.0090.00615.64
7.0.230.0070.00715.28
7.0.220.0070.00715.43
7.0.210.0000.01315.49
7.0.200.0030.01216.27
7.0.190.0000.01215.63
7.0.180.0030.01115.50
7.0.170.0110.00015.59
7.0.160.0060.00815.63
7.0.150.0100.00715.16
7.0.140.0120.03318.62
7.0.130.0040.01115.35
7.0.120.0040.00915.34
7.0.110.0070.00715.23
7.0.100.0050.02417.80
7.0.90.0070.02217.74
7.0.80.0060.04317.77
7.0.70.0040.04417.74
7.0.60.0030.02817.83
7.0.50.0050.02717.97
7.0.40.0100.04017.10
7.0.30.0050.04617.13
7.0.20.0060.04417.01
7.0.10.0080.02517.08
7.0.00.0070.02517.12
5.6.400.0060.00914.64
5.6.390.0060.01514.51
5.6.380.0000.01414.50
5.6.370.0100.00714.46
5.6.360.0030.01114.88
5.6.350.0100.00314.72
5.6.340.0030.00914.42
5.6.330.0030.01414.73
5.6.320.0040.01114.71
5.6.310.0070.01014.70
5.6.300.0070.01514.36
5.6.290.0060.01314.28
5.6.280.0040.04417.72
5.6.270.0090.00314.42
5.6.260.0120.00014.65
5.6.250.0050.02717.62
5.6.240.0050.02317.66
5.6.230.0080.03317.73
5.6.220.0120.03817.43
5.6.210.0080.03117.58
5.6.200.0020.03617.78
5.6.190.0080.04117.72
5.6.180.0110.02517.85
5.6.170.0070.04517.76
5.6.160.0080.04517.75
5.6.150.0030.04817.86
5.6.140.0050.03017.85
5.6.130.0080.04517.81
5.6.120.0080.04317.58
5.6.110.0100.04217.73
5.6.100.0110.03817.70
5.6.90.0100.03517.86
5.6.80.0050.02917.36
5.6.70.0050.02917.32
5.6.60.0130.02817.46
5.6.50.0080.04317.36
5.6.40.0060.04617.47
5.6.30.0030.02717.38
5.6.20.0100.03317.53
5.6.10.0070.03817.41
5.6.00.0060.02517.41
5.5.380.0030.02717.39
5.5.370.0080.02017.35
5.5.360.0100.04517.45
5.5.350.0050.04517.49
5.5.340.0080.03217.73
5.5.330.0070.03017.69
5.5.320.0030.04517.67
5.5.310.0050.04317.68
5.5.300.0100.04017.67
5.5.290.0050.04317.71
5.5.280.0100.04217.79
5.5.270.0090.03017.66
5.5.260.0140.03417.36
5.5.250.0080.02817.35
5.5.240.0070.04917.43
5.5.230.0030.03817.30
5.5.220.0040.02617.22
5.5.210.0050.04517.37
5.5.200.0100.04017.37
5.5.190.0050.02517.41
5.5.180.0070.02417.23
5.5.170.0080.00414.25
5.5.160.0100.02017.31
5.5.150.0080.04217.29
5.5.140.0030.02817.40
5.5.130.0070.04617.25
5.5.120.0050.02917.40
5.5.110.0040.03417.11
5.5.100.0070.04317.07
5.5.90.0040.03917.25
5.5.80.0020.04517.32
5.5.70.0070.02517.06
5.5.60.0060.04017.25
5.5.50.0080.02817.06
5.5.40.0050.04417.21
5.5.30.0040.04517.06
5.5.20.0020.04917.36
5.5.10.0090.02517.31
5.5.00.0070.03817.05
5.4.450.0060.04016.71
5.4.440.0030.04216.60
5.4.430.0080.02716.64
5.4.420.0070.03316.75
5.4.410.0050.03816.62
5.4.400.0070.04316.54
5.4.390.0050.04316.60
5.4.380.0030.03816.48
5.4.370.0110.03516.59
5.4.360.0090.03816.44
5.4.350.0030.02616.50
5.4.340.0080.03516.59
5.4.330.0070.00014.06
5.4.320.0080.03216.60
5.4.310.0080.04116.52
5.4.300.0080.04016.52
5.4.290.0070.04216.49
5.4.280.0050.03316.48
5.4.270.0050.02716.64
5.4.260.0050.02716.51
5.4.250.0100.03716.52
5.4.240.0050.03816.43
5.4.230.0070.03716.57
5.4.220.0050.04616.57
5.4.210.0060.02816.64
5.4.200.0070.03516.54
5.4.190.0100.03816.58
5.4.180.0050.02816.51
5.4.170.0060.02116.60
5.4.160.0100.02016.54
5.4.150.0050.02316.58
5.4.140.0050.02115.21
5.4.130.0110.03015.19
5.4.120.0100.03015.17
5.4.110.0050.03815.17
5.4.100.0090.02015.25
5.4.90.0050.04215.25
5.4.80.0050.03315.22
5.4.70.0040.04215.22
5.4.60.0060.02915.26
5.4.50.0050.04115.12
5.4.40.0000.04215.24
5.4.30.0040.03015.16
5.4.20.0060.04315.13
5.4.10.0080.03515.28
5.4.00.0070.03514.91
5.3.290.0070.04314.37
5.3.280.0050.02814.33
5.3.270.0080.04114.34
5.3.260.0030.04214.26
5.3.250.0060.02714.31
5.3.240.0050.03914.34
5.3.230.0080.04314.29
5.3.220.0050.03214.33
5.3.210.0050.02414.29
5.3.200.0060.02714.23
5.3.190.0100.03814.32
5.3.180.0060.04314.29
5.3.170.0100.02214.31
5.3.160.0060.02314.25
5.3.150.0090.02414.31
5.3.140.0110.03814.24
5.3.130.0090.03714.29
5.3.120.0120.03614.23
5.3.110.0050.03914.31
5.3.100.0070.04514.06
5.3.90.0050.04113.96
5.3.80.0070.03314.02
5.3.70.0140.03214.04
5.3.60.0080.03914.03
5.3.50.0030.02713.99
5.3.40.0040.04014.01
5.3.30.0080.03513.97
5.3.20.0090.03813.85
5.3.10.0130.03113.80
5.3.00.0110.03513.86
5.2.170.0000.05311.64
5.2.160.0030.06011.64
5.2.150.0070.05711.64
5.2.140.0030.03711.64
5.2.130.0000.06711.64
5.2.120.0030.06011.64
5.2.110.0070.04711.64
5.2.100.0030.06311.64
5.2.90.0070.04711.64
5.2.80.0100.02311.64
5.2.70.0070.05011.64
5.2.60.0070.04011.64
5.2.50.0130.05311.64
5.2.40.0070.06311.64
5.2.30.0070.05711.64
5.2.20.0070.03711.64
5.2.10.0070.05711.64
5.2.00.0100.04711.64
5.1.60.0070.04711.64
5.1.50.0070.06011.64
5.1.40.0070.04311.64
5.1.30.0100.03711.64
5.1.20.0070.05011.64
5.1.10.0070.04711.64
5.1.00.0170.03711.64
5.0.50.0000.03011.64
5.0.40.0000.02311.64
5.0.30.0030.06311.64
5.0.20.0030.01711.64
5.0.10.0030.01711.64
5.0.00.0030.03011.64
4.4.90.0070.02711.64
4.4.80.0000.02011.64
4.4.70.0070.02711.64
4.4.60.0000.02711.64
4.4.50.0030.03711.64
4.4.40.0030.06011.64
4.4.30.0030.03311.64
4.4.20.0030.03311.64
4.4.10.0000.02311.64
4.4.00.0070.02311.64
4.3.110.0000.02711.64
4.3.100.0000.01711.64
4.3.90.0000.03011.64
4.3.80.0070.05311.64
4.3.70.0030.01711.64
4.3.60.0030.03311.64
4.3.50.0070.01311.64
4.3.40.0070.03311.64
4.3.30.0000.01711.64
4.3.20.0070.01311.64
4.3.10.0030.01711.64
4.3.00.0000.01711.64

preferences:
58.19 ms | 401 KiB | 5 Q