3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str= 'A rough criminal gets into an argument over a girl in a dance hall. The argument turns into a fight, and the criminal is shot. As everyone else looks on,...'; $x = '90'; $array = explode( "\n", wordwrap( $str, $x)); echo implode("<br>",$array); ?>

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.60.0070.00718.18
8.3.50.0110.00417.91
8.3.40.0170.00318.71
8.3.30.0120.00318.75
8.3.20.0050.00320.29
8.3.10.0040.00423.40
8.3.00.0000.00819.66
8.2.180.0120.00318.42
8.2.170.0040.01622.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00421.04
8.2.120.0040.00426.35
8.2.110.0030.00622.25
8.2.100.0070.00419.40
8.2.90.0080.00017.84
8.2.80.0000.00819.45
8.2.70.0000.00817.91
8.2.60.0000.00818.03
8.2.50.0040.00418.16
8.2.40.0000.00922.33
8.2.30.0040.00419.44
8.2.20.0070.00018.11
8.2.10.0030.00718.07
8.2.00.0030.00318.34
8.1.280.0120.00625.92
8.1.270.0040.00420.38
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0050.00522.18
8.1.230.0090.00320.71
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0050.00317.23
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0000.00818.84
8.1.150.0030.00320.17
8.1.140.0050.00317.68
8.1.130.0000.00718.78
8.1.120.0040.00417.40
8.1.110.0070.00017.26
8.1.100.0040.00417.39
8.1.90.0050.00517.40
8.1.80.0040.00417.35
8.1.70.0000.00717.34
8.1.60.0030.00517.42
8.1.50.0040.00417.38
8.1.40.0000.00817.34
8.1.30.0080.00017.47
8.1.20.0000.00817.48
8.1.10.0100.00317.54
8.1.00.0080.00017.48
8.0.300.0080.00020.16
8.0.290.0040.00416.75
8.0.280.0030.00318.40
8.0.270.0000.00717.26
8.0.260.0070.00316.86
8.0.250.0000.00716.85
8.0.240.0000.00816.88
8.0.230.0000.00816.78
8.0.220.0000.00816.86
8.0.210.0070.00016.81
8.0.200.0020.00516.75
8.0.190.0070.00016.89
8.0.180.0070.00016.74
8.0.170.0030.00616.84
8.0.160.0050.00216.77
8.0.150.0080.00016.72
8.0.140.0040.00416.74
8.0.130.0030.00313.14
8.0.120.0040.00416.67
8.0.110.0000.00716.66
8.0.100.0040.00416.67
8.0.90.0030.00516.84
8.0.80.0040.01216.82
8.0.70.0070.00016.64
8.0.60.0000.00716.77
8.0.50.0060.00316.65
8.0.30.0050.01317.15
8.0.20.0090.01117.40
8.0.10.0040.00416.82
8.0.00.0130.00416.63
7.4.330.0060.00015.55
7.4.320.0000.00616.49
7.4.300.0060.00016.52
7.4.290.0040.00416.52
7.4.280.0000.00916.33
7.4.270.0000.00916.43
7.4.260.0000.00716.42
7.4.250.0030.00316.45
7.4.240.0000.00716.44
7.4.230.0070.00016.64
7.4.220.0030.00316.53
7.4.210.0100.00716.41
7.4.200.0000.00716.32
7.4.160.0060.01316.38
7.4.150.0170.00017.40
7.4.140.0100.00917.86
7.4.130.0130.00316.42
7.4.120.0140.00516.44
7.4.110.0110.00716.23
7.4.100.0130.00316.27
7.4.90.0110.00816.43
7.4.80.0130.00319.39
7.4.70.0060.01316.40
7.4.60.0100.00616.41
7.4.50.0060.00916.42
7.4.40.0080.00816.36
7.4.00.0040.01114.70
7.3.330.0030.00313.00
7.3.320.0050.00013.05
7.3.310.0000.00716.01
7.3.300.0000.00716.18
7.3.290.0100.00716.13
7.3.280.0080.00816.18
7.3.270.0130.00417.40
7.3.260.0110.00816.22
7.3.250.0100.00916.29
7.3.240.0100.00916.23
7.3.230.0170.00716.36
7.3.210.0090.00816.35
7.3.200.0030.01316.42
7.3.190.0160.00616.38
7.3.180.0060.00916.10
7.3.170.0070.01016.31
7.3.160.0090.00616.41
7.2.330.0100.00716.56
7.2.320.0100.00716.70
7.2.310.0140.00316.71
7.2.300.0190.00316.70
7.2.290.0040.01216.64
7.2.60.0030.00716.52
7.2.10.0470.01017.73
7.2.00.0340.01017.70
7.1.200.0040.00915.75
7.1.130.0460.01316.54
7.1.120.0430.01716.71
7.1.110.0540.01015.91
7.1.100.0390.01116.03
7.1.90.0730.00615.81
7.1.80.0550.00816.07
7.1.70.0470.00415.21
7.1.60.0580.01033.30
7.1.50.0670.01832.62
7.1.40.0500.01732.65
7.1.30.0740.00932.44
7.1.20.0520.01332.61
7.1.10.0380.01014.66
7.1.00.0450.01114.68

preferences:
50.11 ms | 401 KiB | 5 Q