3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row['content'] = 'Lorem Ipsum <img src="tralala.jpg"> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.'; echo substr(preg_replace("/<img[^>]+\>/i", " ",$row['content']), 0, 200);

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.130.0030.00518.50
8.3.120.0100.00018.95
8.3.110.0060.00320.94
8.3.100.0030.01724.06
8.3.90.0030.00626.77
8.3.80.0090.00018.55
8.3.70.0090.00616.58
8.3.60.0070.01418.43
8.3.50.0070.00822.17
8.3.40.0090.00918.84
8.3.30.0140.00718.96
8.3.20.0030.00519.32
8.3.10.0040.00421.90
8.3.00.0060.00319.38
8.2.250.0120.00616.66
8.2.240.0000.00917.04
8.2.230.0070.00722.58
8.2.220.0070.01137.54
8.2.210.0040.00426.77
8.2.200.0060.00316.63
8.2.190.0070.01116.63
8.2.180.0100.01018.54
8.2.170.0070.00722.96
8.2.160.0090.00921.25
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0000.00820.52
8.2.120.0040.00426.35
8.2.110.0090.00019.34
8.2.100.0090.00317.84
8.2.90.0000.00818.00
8.2.80.0050.00318.80
8.2.70.0060.00318.03
8.2.60.0080.00018.09
8.2.50.0000.00818.10
8.2.40.0030.00621.15
8.2.30.0000.00819.28
8.2.20.0080.00018.20
8.2.10.0000.00818.09
8.2.00.0000.00717.77
8.1.300.0090.00016.48
8.1.290.0090.00018.88
8.1.280.0130.01025.92
8.1.270.0080.00022.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00421.98
8.1.230.0070.00421.03
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0070.00317.48
8.1.190.0060.00317.35
8.1.180.0050.00318.10
8.1.170.0040.00418.54
8.1.160.0080.00019.02
8.1.150.0040.00418.57
8.1.140.0000.00719.48
8.1.130.0030.00319.02
8.1.120.0030.00317.40
8.1.110.0060.00317.36
8.1.100.0060.00317.50
8.1.90.0000.00817.48
8.1.80.0020.00517.52
8.1.70.0070.00017.32
8.1.60.0040.00417.57
8.1.50.0080.00017.58
8.1.40.0040.00417.39
8.1.30.0030.00517.67
8.1.20.0080.00017.57
8.1.10.0000.00817.56
8.1.00.0000.00817.52
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0000.00718.36
8.0.270.0050.00518.09
8.0.260.0030.00517.17
8.0.250.0070.00017.06
8.0.240.0050.00317.05
8.0.230.0040.00416.91
8.0.220.0030.00316.80
8.0.210.0000.00716.80
8.0.200.0000.00816.97
8.0.190.0070.00017.03
8.0.180.0070.00016.95
8.0.170.0040.00416.86
8.0.160.0040.00416.91
8.0.150.0050.00316.81
8.0.140.0070.00016.89
8.0.130.0000.00513.38
8.0.120.0070.00016.90
8.0.110.0040.00416.97
8.0.100.0040.00416.77
8.0.90.0070.00016.88
8.0.80.0140.00716.96
8.0.70.0040.00416.90
8.0.60.0040.00416.88
8.0.50.0000.00816.76
8.0.30.0060.01317.11
8.0.20.0120.00917.47
8.0.10.0040.00416.98
8.0.00.0100.00716.83
7.4.330.0060.00015.55
7.4.320.0060.00016.67
7.4.300.0030.00316.66
7.4.290.0030.00316.62
7.4.280.0040.00416.55
7.4.270.0000.00716.70
7.4.260.0040.00416.68
7.4.250.0040.00416.73
7.4.240.0080.00016.61
7.4.230.0000.00716.65
7.4.220.0090.01816.65
7.4.210.0060.00816.77
7.4.200.0040.00416.82
7.4.160.0050.01116.55
7.4.150.0110.00717.40
7.4.140.0120.01017.86
7.4.130.0080.01016.69
7.4.120.0130.00516.80
7.4.110.0070.01616.82
7.4.100.0080.00816.64
7.4.90.0070.01016.89
7.4.80.0060.01319.39
7.4.70.0120.00616.73
7.4.60.0060.00916.67
7.4.50.0120.00316.72
7.4.40.0080.00816.57
7.4.30.0100.00716.84
7.4.00.0090.00915.05
7.3.330.0030.00213.31
7.3.320.0000.00713.07
7.3.310.0000.00816.40
7.3.300.0050.00216.20
7.3.290.0070.00916.43
7.3.280.0080.01116.41
7.3.270.0060.01217.40
7.3.260.0110.01016.45
7.3.250.0060.01116.47
7.3.240.0110.01116.41
7.3.230.0060.01216.64
7.3.210.0110.00716.45
7.3.200.0090.00616.23
7.3.190.0030.01916.72
7.3.180.0030.01416.47
7.3.170.0070.01016.53
7.3.160.0130.00316.49
7.3.10.0130.00816.43
7.3.00.0210.00716.11
7.2.330.0070.01116.81
7.2.320.0090.00916.89
7.2.310.0110.00716.82
7.2.300.0090.00916.75
7.2.290.0130.01016.68
7.2.130.0060.01316.79
7.2.120.0190.00616.29
7.2.110.0210.00016.72
7.2.100.0120.01216.85
7.2.90.0240.00716.67
7.2.80.0130.01016.58
7.2.70.0280.00416.91
7.2.60.0080.00816.65
7.2.50.0100.00716.98
7.2.40.0190.00417.00
7.2.30.0120.00616.75
7.2.20.0100.01016.63
7.2.10.0170.01316.64
7.2.00.0070.01417.25
7.1.250.0040.01515.66
7.1.200.0110.00315.69
7.1.70.0000.01017.46
7.1.60.0050.00917.56
7.1.50.0130.00017.13
7.1.40.0060.00616.57
7.1.30.0040.01417.12
7.1.20.0040.01216.89
7.1.10.0000.01116.55
7.1.00.0000.00917.10
7.0.200.0030.00916.94
7.0.190.0030.00816.87
7.0.180.0120.00016.44
7.0.170.0050.00916.41
7.0.160.0070.00516.34
7.0.150.0060.00616.43
7.0.140.0050.00716.66
7.0.130.0000.01216.84
7.0.120.0000.01416.75
7.0.110.0050.00816.87
7.0.100.0060.00616.67
7.0.90.0110.00216.50
7.0.80.0080.00416.55
7.0.70.0000.01116.42
7.0.60.0030.00916.14
7.0.50.0050.00516.66
7.0.40.0040.00716.14
7.0.30.0000.01016.14
7.0.20.0000.01116.14
7.0.10.0000.01316.14
7.0.00.0000.00816.14
5.6.300.0100.04320.75
5.6.290.0130.03520.78
5.6.280.0030.04820.90
5.6.270.0090.04421.06
5.6.260.0100.04320.86
5.6.250.0080.05020.95
5.6.240.0100.04520.83
5.6.230.0100.04420.96
5.6.220.0000.06120.80
5.6.210.0130.04720.99
5.6.200.0110.04120.93
5.6.190.0100.08120.88
5.6.180.0000.04720.80
5.6.170.0100.05620.92
5.6.160.0170.05920.98
5.6.150.0130.03620.77
5.6.140.0070.04020.85
5.6.130.0070.04420.84
5.6.120.0070.04420.97
5.6.110.0070.07720.84
5.6.100.0070.05120.71
5.6.90.0140.07620.80
5.6.80.0140.03820.21
5.6.70.0060.04120.41
5.6.60.0000.04420.18
5.6.50.0070.05620.37
5.6.40.0100.03720.41
5.6.30.0100.03720.20
5.6.20.0070.05120.21
5.6.10.0100.06820.19
5.6.00.0140.03520.07
5.5.380.0150.03417.44
5.5.370.0100.03717.50
5.5.360.0040.04617.45
5.5.350.0100.04017.47
5.5.340.0060.04018.06
5.5.330.0000.04818.03
5.5.320.0100.03818.03
5.5.310.0000.04918.03
5.5.300.0130.03418.03
5.5.290.0030.04617.71
5.5.280.0030.04217.97
5.5.270.0030.06017.82
5.5.260.0100.03918.02
5.5.250.0000.04717.77
5.5.240.0100.03917.41
5.5.230.0030.04417.41
5.5.220.0000.04817.41
5.5.210.0040.04617.41
5.5.200.0070.03917.30
5.5.190.0030.04617.30
5.5.180.0070.03717.32
5.5.160.0030.04717.30
5.5.150.0070.04017.46
5.5.140.0060.04917.38
5.5.130.0100.05617.09
5.5.120.0060.03917.20
5.5.110.0100.04017.37
5.5.100.0070.03717.25
5.5.90.0090.03117.22
5.5.80.0030.04017.23
5.5.70.0130.04617.18
5.5.60.0100.04017.27
5.5.50.0000.07017.30
5.5.40.0030.04117.27
5.5.30.0060.04217.07
5.5.20.0070.04317.27
5.5.10.0070.03717.21
5.5.00.0130.02917.25
5.4.450.0100.03419.39
5.4.440.0030.04519.39
5.4.430.0040.04619.14
5.4.420.0030.04519.34
5.4.410.0070.04119.34
5.4.400.0040.04019.05
5.4.390.0030.04418.84
5.4.380.0030.03918.88
5.4.370.0100.03718.98
5.4.360.0130.03519.06
5.4.350.0040.03919.14
5.4.340.0100.05119.06
5.4.320.0000.05219.05
5.4.310.0160.03219.05
5.4.300.0000.04419.07
5.4.290.0000.05118.97
5.4.280.0070.04419.07
5.4.270.0030.04218.98
5.4.260.0030.04319.14
5.4.250.0000.04419.06
5.4.240.0100.03118.82
5.4.230.0000.04218.91
5.4.220.0030.03919.06
5.4.210.0030.04118.94
5.4.200.0030.04718.91
5.4.190.0100.03419.13
5.4.180.0070.04019.15
5.4.170.0000.04218.84
5.4.160.0070.03818.96
5.4.150.0060.03818.99
5.4.140.0030.03816.51
5.4.130.0140.02716.38
5.4.120.0030.04516.55
5.4.110.0070.03616.35
5.4.100.0070.03616.45
5.4.90.0000.07016.50
5.4.80.0000.05416.40
5.4.70.0030.04216.45
5.4.60.0040.03916.62
5.4.50.0030.03716.32
5.4.40.0030.06016.38
5.4.30.0070.03916.66
5.4.20.0070.04716.32
5.4.10.0070.03816.43
5.4.00.0030.03716.14
5.3.290.0000.04516.14
5.3.280.0000.04816.14
5.3.270.0030.04216.14
5.3.260.0030.04416.14
5.3.250.0030.04316.14
5.3.240.0170.05016.14
5.3.230.0030.03716.14
5.3.220.0030.06116.14
5.3.210.0170.03016.14
5.3.200.0000.05016.14
5.3.190.0070.03716.14
5.3.180.0030.09116.14
5.3.170.0030.04116.14
5.3.160.0100.03316.14
5.3.150.0070.07416.14
5.3.140.0070.03716.14
5.3.130.0070.04116.14
5.3.120.0000.04516.14
5.3.110.0000.04416.14
5.3.100.0090.03516.14
5.3.90.0160.02516.14
5.3.80.0000.04716.14
5.3.70.0030.03816.14
5.3.60.0040.03916.14
5.3.50.0040.03916.14
5.3.40.0030.03716.14
5.3.30.0000.05016.14
5.3.20.0060.03216.14
5.3.10.0030.03416.14
5.3.00.0070.03916.14
5.2.170.0000.03516.14
5.2.160.0000.03216.14
5.2.150.0030.03016.14
5.2.140.0090.02516.14
5.2.130.0000.03116.14
5.2.120.0000.03416.14
5.2.110.0030.05216.14
5.2.100.0070.03516.14
5.2.90.0060.02616.14
5.2.80.0000.04216.14
5.2.70.0030.02916.14
5.2.60.0000.03416.14
5.2.50.0000.03516.14
5.2.40.0170.02716.14
5.2.30.0030.03116.14
5.2.20.0060.02816.14
5.2.10.0030.02916.14
5.2.00.0000.03116.14
5.1.60.0070.02016.14
5.1.50.0000.04416.14
5.1.40.0070.02616.14
5.1.30.0030.02616.14
5.1.20.0060.02216.14
5.1.10.0090.01816.14
5.1.00.0030.02616.14
5.0.50.0000.02416.14
5.0.40.0040.01816.14
5.0.30.0000.03416.14
5.0.20.0070.02116.14
5.0.10.0030.03416.14
5.0.00.0040.03616.14
4.4.90.0000.02216.14
4.4.80.0000.02316.14
4.4.70.0070.01116.14
4.4.60.0000.01916.14
4.4.50.0030.01316.14
4.4.40.0000.05016.14
4.4.30.0000.02116.14
4.4.20.0000.02016.14
4.4.10.0000.01816.14
4.4.00.0030.02716.14
4.3.110.0030.01616.14
4.3.100.0040.01516.14
4.3.90.0030.02316.14
4.3.80.0070.02016.14
4.3.70.0000.01616.14
4.3.60.0030.01416.14
4.3.50.0000.01616.14
4.3.40.0000.02516.14
4.3.30.0000.02216.14
4.3.20.0000.01816.14
4.3.10.0030.01716.14
4.3.00.0000.02316.14

preferences:
31.32 ms | 403 KiB | 5 Q