3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '-682.-653.-633.-710.-722.-646.-643.-643.-647.-639.-722.-646.-649.-647.-653.-722.-633.-643.-637.-722.-650.-657.-636.-653.-722.-639.-637.-655.-655.-653.-639.-639.-652.-637.-646.-646.-633.-722.-654.-653.-655.-640.-633.-642.-638.-653.-654.-722.-638.-650.-653.-722.-645.-653.-639.-639.-657.-651.-653.-708.-722.-682.-657.-642.-642.-633.-722.-638.-643.-722.-639.-653.-653.-722.-638.-650.-657.-638.-721.-722.-675.-644.-653.-722.-655.-657.-644.-722.-644.-653.-636.-653.-640.-722.-656.-653.-722.-655.-657.-640.-653.-652.-637.-646.-722.-653.-644.-643.-637.-651.-650.-722.-635.-649.-638.-650.-722.-638.-650.-653.-722.-676.-671.-689.-722.-657.-640.-643.-637.-644.-654.-708.-722.-681.-722.-635.-657.-644.-638.-722.-638.-643.-722.-647.-653.-653.-642.-722.-638.-650.-649.-639.-722.-639.-650.-643.-640.-638.-710.-722.-638.-650.-653.-722.-657.-654.-645.-649.-644.-722.-642.-657.-639.-639.-635.-643.-640.-654.-722.-649.-639.-696.-722.-686.-668.-676.-634.-680.-656.-668.-701.-722.-657.-644.-654.-722.-638.-650.-653.-722.-646.-643.-651.-709.-649.-644.-722.-642.-657.-651.-653.-722.-649.-639.-722.-646.-643.-655.-657.-638.-653.-654.-722.-657.-638.-696.-722.-707.-639.-653.-655.-640.-653.-638.-659.-652.-643.-646.-654.-653.-640.-707.-639.-653.-655.-640.-653.-638.-659.-646.-643.-651.-649.-644.-708.-642.-650.-642.-722.-722.-683.-643.-643.-654.-722.-646.-637.-655.-647.-721.-722.-674.-646.-653.-657.-639.-653.-722.-653.-644.-655.-640.-633.-642.-638.-722.-657.-646.-646.-722.-645.-653.-639.-639.-657.-651.-653.-639.-722.-638.-650.-657.-638.-722.-633.-643.-637.-722.-639.-653.-644.-654.-722.-638.-643.-722.-645.-653.-708.-722.-670.-650.-657.-644.-647.-639.-708.'; $chars = explode('.', $text); for ($i = 0; $i <= 1000; $i++) { $output = ''; for ($x = 0; $x < (sizeof($chars) - 2); $x++) { $output .= chr($i + $chars[$x]); } echo "{$output}<br />\n"; }

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.0100.00716.58
8.3.60.0060.01918.30
8.3.50.0120.01221.14
8.3.40.0100.00718.64
8.3.30.0140.00320.18
8.3.20.0000.01020.48
8.3.10.0030.00721.21
8.3.00.0040.00423.52
8.2.180.0110.00716.50
8.2.170.0070.01022.96
8.2.160.0100.01020.57
8.2.150.0000.01024.18
8.2.140.0000.01124.66
8.2.130.0090.00026.16
8.2.120.0090.00021.13
8.2.110.0060.00620.40
8.2.100.0040.01117.80
8.2.90.0100.00019.30
8.2.80.0050.00517.97
8.2.70.0100.00317.75
8.2.60.0030.00717.93
8.2.50.0030.00718.07
8.2.40.0030.00918.22
8.2.30.0080.00319.55
8.2.20.0070.00317.93
8.2.10.0030.00817.99
8.2.00.0080.00417.98
8.1.280.0070.01025.92
8.1.270.0060.00323.99
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0040.00823.93
8.1.230.0110.00419.01
8.1.220.0030.00718.77
8.1.210.0000.01118.79
8.1.200.0000.01217.25
8.1.190.0030.00717.50
8.1.180.0030.00718.10
8.1.170.0040.01118.50
8.1.160.0000.01019.07
8.1.150.0070.00318.70
8.1.140.0030.00717.47
8.1.130.0000.00917.93
8.1.120.0000.01017.65
8.1.110.0040.00717.56
8.1.100.0040.00717.59
8.1.90.0050.00517.64
8.1.80.0000.01017.45
8.1.70.0000.00917.57
8.1.60.0040.00817.58
8.1.50.0040.00717.58
8.1.40.0030.00917.64
8.1.30.0070.00317.64
8.1.20.0000.01117.68
8.1.10.0000.01017.68
8.1.00.0030.00717.48
8.0.300.0030.00620.07
8.0.290.0000.01017.16
8.0.280.0030.00618.40
8.0.270.0030.00917.25
8.0.260.0050.00518.35
8.0.250.0000.01016.98
8.0.240.0040.00816.96
8.0.230.0030.00616.99
8.0.220.0000.00916.88
8.0.210.0070.00716.90
8.0.200.0000.01016.94
8.0.190.0040.00717.11
8.0.180.0040.00716.95
8.0.170.0000.01116.98
8.0.160.0000.01017.00
8.0.150.0060.00316.79
8.0.140.0030.01016.90
8.0.130.0000.01013.40
8.0.120.0030.00716.86
8.0.110.0000.01016.88
8.0.100.0030.00716.92
8.0.90.0070.00316.90
8.0.80.0100.01316.93
8.0.70.0000.01016.80
8.0.60.0000.01016.76
8.0.50.0000.01116.74
8.0.30.0170.00617.03
8.0.20.0110.02217.40
8.0.10.0030.00717.02
8.0.00.0110.01116.74
7.4.330.0070.00014.93
7.4.320.0000.01016.35
7.4.300.0000.01016.52
7.4.290.0030.00716.46
7.4.280.0030.00716.50
7.4.270.0000.01016.50
7.4.260.0060.00313.34
7.4.250.0070.00416.48
7.4.240.0080.00316.59
7.4.230.0000.01016.52
7.4.220.0100.01016.58
7.4.210.0050.01716.50
7.4.200.0000.01016.65
7.4.190.0000.00916.40
7.4.160.0090.01116.36
7.4.150.0030.02017.40
7.4.140.0110.01017.86
7.4.130.0090.01516.64
7.4.120.0100.01316.36
7.4.110.0150.00716.51
7.4.100.0190.01416.53
7.4.90.0090.01516.65
7.4.80.0120.00919.39
7.4.70.0060.01316.48
7.4.60.0080.01216.59
7.4.50.0000.00616.52
7.4.40.0070.01422.77
7.4.30.0120.01216.34
7.3.330.0060.00313.06
7.3.320.0040.00413.17
7.3.310.0000.01016.27
7.3.300.0030.00616.28
7.3.290.0130.01316.30
7.3.280.0090.01316.18
7.3.270.0070.01717.40
7.3.260.0100.01218.24
7.3.250.0050.01616.43
7.3.240.0120.00916.36
7.3.230.0080.01316.39
7.3.210.0060.01616.19
7.3.200.0060.02219.39
7.3.190.0150.01516.34
7.3.180.0100.01316.11
7.3.170.0150.00716.27
7.3.160.0060.01616.39
7.2.330.0110.01516.37
7.2.320.0170.01116.53
7.2.310.0070.02216.57
7.2.300.0070.01616.56
7.2.290.0100.01016.75
7.2.100.0550.01914.36
7.2.90.0730.01314.76
7.2.80.1090.00314.48
7.2.70.0670.01715.21
7.2.60.0760.01014.82
7.2.50.0630.01514.74
7.2.40.0100.01314.69
7.2.30.0860.00315.23
7.2.20.0910.01015.14
7.2.10.0910.01314.88
7.2.00.0840.01014.65
7.1.220.0760.01013.74
7.1.210.0830.01613.86
7.1.200.0100.02114.07
7.1.190.0320.01314.01
7.1.180.0760.01013.82
7.1.170.0700.01613.67
7.1.160.0220.00314.06
7.1.150.1120.00913.70
7.1.140.0850.01013.95
7.1.130.0990.01613.98
7.1.120.0830.01413.79
7.1.110.0950.00613.82
7.1.100.1020.01913.93
7.1.90.0890.01313.75
7.1.80.0950.00713.77
7.1.70.1110.00613.95
7.1.60.0430.00632.12
7.1.50.1530.01031.88
7.1.40.1010.00331.94
7.1.30.1280.00732.00
7.1.20.1160.01631.83
7.1.10.0560.00713.86
7.1.00.0980.00713.66
7.0.310.0750.01313.61
7.0.300.0760.01913.61
7.0.290.0070.01013.61
7.0.280.0780.01213.61
7.0.270.0870.00713.61
7.0.260.0900.00913.79
7.0.250.1660.01013.61
7.0.240.0710.01113.61
7.0.230.0950.00613.61
7.0.220.1000.00913.61
7.0.210.1030.01313.81
7.0.200.0890.01313.82
7.0.190.1160.00713.75
7.0.180.0990.01013.76
7.0.170.0970.00613.63
7.0.160.0990.00313.61
7.0.150.0820.01013.61
7.0.140.0460.01113.66
7.0.130.1050.00913.64
7.0.120.1350.02513.69
7.0.110.0100.01513.63
7.0.100.1530.02313.61
7.0.90.1100.00713.61
7.0.80.1160.01213.61
7.0.70.0110.00813.61
7.0.60.1130.00313.64
7.0.50.0060.02113.84
7.0.40.0720.02013.71
7.0.30.0540.01313.61
7.0.20.0140.01413.61
7.0.10.1160.00613.61
7.0.00.0980.01013.61
5.6.380.0000.02714.54
5.6.370.0090.01914.53
5.6.360.0100.02514.59
5.6.350.0030.04214.15
5.6.340.0080.02714.55
5.6.330.0070.02014.57
5.6.320.0040.01714.19
5.6.310.0140.01414.68
5.6.300.0090.01914.38
5.6.290.0070.01714.65
5.6.280.0090.01514.77
5.6.270.0140.02014.88
5.6.260.0250.01114.35
5.6.250.0090.01814.46
5.6.240.0090.02414.46
5.6.230.0080.01314.35
5.6.220.0070.01414.57
5.6.210.0080.02614.34
5.6.200.0080.01814.71
5.6.190.0140.02014.29
5.6.180.0100.02414.29
5.6.170.0110.02814.42
5.6.160.0000.02414.39
5.6.150.0140.01014.16
5.6.140.0120.01514.08
5.6.130.0070.03114.21
5.6.120.0150.01014.19
5.6.110.0170.01014.45
5.6.100.0120.02014.50
5.6.90.0120.01813.92
5.6.80.0120.02114.08
5.6.70.0000.02914.20
5.6.60.0090.01513.88
5.6.50.0130.01314.32
5.6.40.0110.01514.32
5.6.30.0150.01113.86
5.6.20.0210.01814.24
5.6.10.0000.02513.95
5.6.00.0080.01814.13
5.5.380.0040.01813.61
5.5.370.0060.01313.61
5.5.360.0090.00913.61
5.5.350.0090.02213.61
5.5.340.0090.01513.61
5.5.330.0090.02513.61
5.5.320.0020.02813.61
5.5.310.0070.04113.61
5.5.300.0160.01413.61
5.5.290.0140.01713.61
5.5.280.0040.02413.61
5.5.270.0080.01613.61
5.5.260.0140.01013.61
5.5.250.0110.01513.61
5.5.240.0150.02113.61
5.5.230.0070.03713.61
5.5.220.0070.02213.61
5.5.210.0060.01913.61
5.5.200.0140.00813.61
5.5.190.0080.01613.61
5.5.180.0050.02913.61
5.5.170.0170.00914.17
5.5.160.0040.01813.61
5.5.150.0080.01313.61
5.4.450.0080.01713.61
5.4.440.0070.01413.61
5.4.430.0000.02413.61
5.4.420.0060.01813.61
5.4.410.0080.01613.61
5.4.400.0030.02213.61
5.4.390.0030.03113.61
5.4.380.0030.02713.61
5.4.370.0000.02113.61
5.4.360.0040.01913.61
5.4.350.0120.01913.61
5.4.340.0080.02113.61
5.4.330.0000.02413.61
5.4.320.0080.01913.61
5.3.290.0030.02013.61

preferences:
57.8 ms | 401 KiB | 5 Q