3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v1_1 = array( 'lang' => 'en', // based on client's browser user-agent 'location' => array( // based on client's IP 'countryCode' => 'DE', 'countryName' => 'Germany', 'regionName' => 'North-Rhine-Westphalia', 'cityName' => 'Cologne', ), 'headlines' => array( 'Meet new people in Cologne today!', 'Start meeting new people from Cologne now!', '20,771 people from Cologne are looking for new friends on meetOne!' ), 'img' => 'http://static.meetone.com/landing/adt/cities/de/koeln.jpg' ); $v1_2 = array( 'lang' => 'de', // based on client's browser user-agent 'location' => array( // based on client's IP 'countryCode' => 'DE', 'countryName' => 'Deutschland', 'regionName' => 'Bayern', 'cityName' => '', ), 'headlines' => array( 'Heute noch nette Leute aus Bayern kennenlernen.', 'Lerne noch heute neue Freunde aus Bayern kennen.', ' Leute aus Bayern suchen neue Freunde auf meetOne!' ), 'img' => 'http://static.meetone.com/landing/adt/regions/de/bayern.jpg' ); print json_encode($v1_2);

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.40.0140.00018.63
8.3.30.0080.00619.09
8.3.20.0150.00020.39
8.3.10.0040.00423.53
8.3.00.0040.00420.87
8.2.170.0140.00322.96
8.2.160.0080.00820.19
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00019.36
8.2.110.0100.00021.06
8.2.100.0060.00617.91
8.2.90.0030.00719.17
8.2.80.0050.00317.97
8.2.70.0000.00817.38
8.2.60.0050.00317.80
8.2.50.0030.00518.16
8.2.40.0040.00420.50
8.2.30.0000.00719.32
8.2.20.0030.00617.74
8.2.10.0000.00817.91
8.2.00.0060.00317.63
8.1.270.0080.00022.08
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.98
8.1.230.0000.01120.30
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0030.00518.54
8.1.160.0040.00418.83
8.1.150.0080.00020.01
8.1.140.0000.00817.49
8.1.130.0040.00419.52
8.1.120.0080.00017.37
8.1.110.0000.00717.43
8.1.100.0040.00417.25
8.1.90.0030.00317.38
8.1.80.0030.00317.43
8.1.70.0040.00417.39
8.1.60.0040.00417.52
8.1.50.0000.00817.45
8.1.40.0080.00017.43
8.1.30.0040.00417.51
8.1.20.0070.00017.43
8.1.10.0090.00017.50
8.1.00.0030.00617.37
8.0.300.0070.00018.77
8.0.290.0100.00016.63
8.0.280.0000.00718.47
8.0.270.0070.00017.10
8.0.260.0040.00417.31
8.0.250.0000.00716.85
8.0.240.0070.00016.84
8.0.230.0020.00516.91
8.0.220.0060.00016.80
8.0.210.0000.00616.80
8.0.200.0040.00416.84
8.0.190.0000.00916.73
8.0.180.0040.00416.73
8.0.170.0040.00416.75
8.0.160.0030.00316.70
8.0.150.0000.00816.68
8.0.140.0080.00016.61
8.0.130.0000.00513.29
8.0.120.0000.00716.75
8.0.110.0070.00016.89
8.0.100.0050.00216.65
8.0.90.0030.00416.84
8.0.80.0140.00616.71
8.0.70.0030.00516.89
8.0.60.0000.00816.87
8.0.50.0000.00716.67
8.0.30.0110.00716.88
8.0.20.0160.00617.40
8.0.10.0040.00416.98
8.0.00.0150.00516.69
7.4.330.0000.00515.03
7.4.320.0030.00316.54
7.4.300.0060.00016.48
7.4.290.0040.00416.57
7.4.280.0030.00316.29
7.4.270.0030.00316.43
7.4.260.0050.00216.43
7.4.250.0000.00716.40
7.4.240.0030.00416.43
7.4.230.0040.00416.28
7.4.220.0060.01316.54
7.4.210.0180.00016.42
7.4.200.0030.00316.60
7.4.160.0090.00616.34
7.4.150.0150.00917.40
7.4.140.0100.00917.86
7.4.130.0090.00716.50
7.4.120.0120.00516.39
7.4.110.0100.00716.50
7.4.100.0150.00316.56
7.4.90.0070.01016.38
7.4.80.0120.00619.39
7.4.70.0110.00616.43
7.4.60.0040.01316.43
7.4.50.0040.00416.39
7.4.40.0120.00416.61
7.4.30.0040.01116.40
7.4.00.0090.00815.01
7.3.330.0000.00612.93
7.3.320.0030.00313.07
7.3.310.0030.00316.19
7.3.300.0030.00316.13
7.3.290.0030.01116.17
7.3.280.0120.00616.10
7.3.270.0130.01017.40
7.3.260.0130.00316.42
7.3.250.0060.01216.29
7.3.240.0100.01316.47
7.3.230.0130.00316.39
7.3.210.0090.00916.31
7.3.200.0100.00719.39
7.3.190.0090.00916.43
7.3.180.0080.00816.18
7.3.170.0120.00916.27
7.3.160.0030.01316.42
7.3.120.0020.01414.87
7.3.110.0070.00914.67
7.3.100.0110.00514.50
7.3.90.0080.00214.85
7.3.80.0060.00714.73
7.3.70.0030.01214.77
7.3.60.0100.00914.57
7.3.50.0050.00614.43
7.3.40.0070.00514.64
7.3.30.0120.00014.67
7.3.20.0050.00816.46
7.3.10.0040.01116.51
7.3.00.0030.00916.61
7.2.330.0100.00716.59
7.2.320.0180.00416.48
7.2.310.0150.00916.57
7.2.300.0000.01916.60
7.2.290.0160.00616.64
7.2.250.0070.01415.06
7.2.240.0050.01115.05
7.2.230.0070.00914.89
7.2.220.0050.01014.90
7.2.210.0050.01014.83
7.2.200.0070.01114.97
7.2.190.0080.00814.93
7.2.180.0030.01214.89
7.2.170.0030.00914.78
7.2.160.0060.01014.72
7.2.150.0100.00616.95
7.2.140.0030.01216.75
7.2.130.0030.01316.95
7.2.120.0070.01016.48
7.2.110.0060.00616.55
7.2.100.0110.00416.92
7.2.90.0060.00616.78
7.2.80.0070.01016.95
7.2.70.0070.01016.66
7.2.60.0080.00516.56
7.2.50.0070.01016.86
7.2.40.0030.01416.71
7.2.30.0070.00316.52
7.2.20.0070.01016.89
7.2.10.0100.00616.88
7.2.00.0050.00717.93
7.1.330.0050.00915.82
7.1.320.0100.00515.89
7.1.310.0070.00715.67
7.1.300.0030.01015.54
7.1.290.0080.00615.62
7.1.280.0090.00515.61
7.1.270.0030.01315.79
7.1.260.0060.00615.59
7.1.250.0040.01115.85
7.1.200.0060.00615.44
7.1.100.0000.01118.03
7.1.70.0030.00517.16
7.1.60.0060.01919.70
7.1.50.0100.01016.86
7.1.00.0070.08722.45
7.0.200.0040.01216.80
7.0.140.0000.07722.04
7.0.90.0030.04319.91
7.0.80.0100.04019.93
7.0.70.0030.08319.83
7.0.60.0100.07719.92
7.0.50.0030.08320.36
7.0.40.0030.08720.08
7.0.30.0100.07320.17
7.0.20.0000.05020.11
7.0.10.0070.05319.99
7.0.00.0070.04320.07
5.6.280.0000.07721.02
5.6.240.0070.03720.54
5.6.230.0070.04020.69
5.6.220.0130.04720.65
5.6.210.0130.07720.53
5.6.200.0070.05021.06
5.6.190.0200.05721.10
5.6.180.0130.08321.05
5.6.170.0100.09021.13
5.6.160.0030.06021.08
5.6.150.0070.05720.96
5.6.140.0100.07721.00
5.6.130.0070.08321.08
5.6.120.0070.04721.07
5.6.110.0070.08321.00
5.6.100.0070.06721.04
5.6.90.0070.07720.91
5.6.80.0070.03720.32
5.6.70.0030.04020.43
5.6.60.0100.07020.38
5.6.50.0030.03320.30
5.6.40.0100.07020.46
5.6.30.0030.08020.35
5.6.20.0070.04720.43
5.6.10.0170.06020.29
5.6.00.0070.07320.51
5.5.380.0030.05320.34
5.5.370.0100.03320.30
5.5.360.0030.08020.29
5.5.350.0100.07320.34
5.5.340.0200.06720.89
5.5.330.0200.07020.91
5.5.320.0070.04720.90
5.5.310.0100.05020.90
5.5.300.0100.05720.64
5.5.290.0070.04320.79
5.5.280.0100.08320.91
5.5.270.0030.04720.75
5.5.260.0100.05020.86
5.5.250.0030.05020.74
5.5.240.0030.05320.27
5.5.230.0030.04020.18
5.5.220.0170.05720.17
5.5.210.0000.07720.20
5.5.200.0130.06720.08
5.5.190.0100.06320.18
5.5.180.0030.04019.99
5.5.160.0030.08020.25
5.5.150.0030.08020.22
5.5.140.0070.04720.22
5.5.130.0070.06720.26
5.5.120.0070.08020.20
5.5.110.0100.07720.25
5.5.100.0130.06720.09
5.5.90.0130.07320.15
5.5.80.0100.04019.95
5.5.70.0070.04020.06
5.5.60.0070.05320.11
5.5.50.0000.04019.96
5.5.40.0070.05720.14
5.5.30.0070.07320.04
5.5.20.0070.04719.95
5.5.10.0030.04720.08
5.5.00.0170.07320.11
5.4.450.0070.07319.23
5.4.440.0030.07719.55
5.4.430.0000.07319.41
5.4.420.0030.04319.39
5.4.410.0030.07319.42
5.4.400.0000.05018.96
5.4.390.0030.06018.91
5.4.380.0100.07019.03
5.4.370.0100.04318.76
5.4.360.0070.07319.03
5.4.350.0070.07719.06
5.4.340.0000.04719.06
5.4.320.0030.04019.15
5.4.310.0000.05319.10
5.4.300.0100.05018.89
5.4.290.0100.04319.02
5.4.280.0070.07318.94
5.4.270.0030.04719.03
5.4.260.0070.04018.89
5.4.250.0000.04718.80
5.4.240.0070.07718.79
5.4.230.0100.07019.13
5.4.220.0070.06019.02
5.4.210.0030.04018.99
5.4.200.0170.06319.07
5.4.190.0100.04319.14
5.4.180.0100.06319.01
5.4.170.0100.07319.07
5.4.160.0030.07319.20
5.4.150.0000.05718.79
5.4.140.0030.07716.36
5.4.130.0070.05016.31
5.4.120.0070.07716.22
5.4.110.0100.07716.39
5.4.100.0070.07316.25
5.4.90.0070.07716.36
5.4.80.0130.06016.26
5.4.70.0170.05716.21
5.4.60.0070.05016.24
5.4.50.0070.07316.39
5.4.40.0100.04716.47
5.4.30.0170.06016.33
5.4.20.0030.05316.27
5.4.10.0030.06016.40
5.4.00.0130.03015.68
5.3.290.0070.03314.52
5.3.280.0100.03714.50
5.3.270.0100.07314.47
5.3.260.0070.04314.42
5.3.250.0130.05714.52
5.3.240.0070.06714.52
5.3.230.0030.04714.58
5.3.220.0000.08014.48
5.3.210.0070.07714.53
5.3.200.0070.04314.51
5.3.190.0070.08014.58
5.3.180.0070.05014.43
5.3.170.0000.09014.50
5.3.160.0070.06014.55
5.3.150.0130.07714.42
5.3.140.0030.07314.54
5.3.130.0000.08314.55
5.3.120.0030.07714.41
5.3.110.0070.08314.37
5.3.100.0000.06313.89
5.3.90.0000.04313.93
5.3.80.0000.05014.03
5.3.70.0000.04313.98
5.3.60.0000.04013.91
5.3.50.0070.03713.90
5.3.40.0070.04013.91
5.3.30.0030.04013.77
5.3.20.0130.04313.67
5.3.10.0170.06313.59
5.3.00.0070.05313.57
5.2.170.0030.03011.14
5.2.160.0030.03011.14
5.2.150.0100.02311.00
5.2.140.0000.03710.98
5.2.130.0000.03011.15
5.2.120.0000.05710.96
5.2.110.0130.05711.08
5.2.100.0070.05311.04
5.2.90.0030.05711.05
5.2.80.0170.02310.96
5.2.70.0100.02711.06
5.2.60.0070.04711.05
5.2.50.0070.06311.06
5.2.40.0030.06011.06
5.2.30.0030.06311.02
5.2.20.0000.04711.01
5.2.10.0070.06310.91
5.2.00.0030.06010.78
5.1.60.0000.05010.00
5.1.50.0070.0539.99
5.1.40.0000.05710.01
5.1.30.0000.04710.38
5.1.20.0130.04710.37
5.1.10.0000.04310.05
5.1.00.0000.03310.09
5.0.50.0100.0408.59
5.0.40.0070.0308.39
5.0.30.0030.0378.05
5.0.20.0030.0438.18
5.0.10.0070.0408.00
5.0.00.0030.0638.15
4.4.90.0000.0376.95
4.4.80.0000.0376.95
4.4.70.0070.0276.95
4.4.60.0030.0206.95
4.4.50.0070.0206.95
4.4.40.0070.0476.95
4.4.30.0000.0276.95
4.4.20.0100.0236.95
4.4.10.0030.0136.95
4.4.00.0030.0236.95
4.3.110.0000.0236.95
4.3.100.0070.0306.95
4.3.90.0000.0306.95
4.3.80.0070.0506.95
4.3.70.0030.0336.95
4.3.60.0030.0376.95
4.3.50.0000.0376.95
4.3.40.0030.0436.95
4.3.30.0000.0276.95
4.3.20.0000.0206.95
4.3.10.0000.0206.95
4.3.00.0000.0376.95

preferences:
44.36 ms | 400 KiB | 5 Q